fix : save breathing script on prefab

This commit is contained in:
Hugo Le Bolloc'h
2026-05-27 13:27:54 +02:00
parent 476fba022f
commit 5840e5c5d2
+23 -33
View File
@@ -43,7 +43,6 @@ GameObject:
- component: {fileID: 3666612565151794712} - component: {fileID: 3666612565151794712}
- component: {fileID: 6053283114444666027} - component: {fileID: 6053283114444666027}
- component: {fileID: 6989128982853398086} - component: {fileID: 6989128982853398086}
- component: {fileID: 522399111239992785}
- component: {fileID: 9197788650853038383} - component: {fileID: 9197788650853038383}
- component: {fileID: 7467899538166521570} - component: {fileID: 7467899538166521570}
- component: {fileID: 4479918178055018832} - component: {fileID: 4479918178055018832}
@@ -175,23 +174,6 @@ MonoBehaviour:
m_VarianceClampScale: 0.9 m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0 m_ContrastAdaptiveSharpening: 0
m_Version: 2 m_Version: 2
--- !u!114 &522399111239992785
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2101508725665932610}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d96ceb0ee513b1e4197e55e9b926269b, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Unheimlich.Interactions.Core.InteractionHandler
_interactionRange: 5
_interactableLayers:
serializedVersion: 2
m_Bits: 8
_raycastInterval: 0
--- !u!114 &9197788650853038383 --- !u!114 &9197788650853038383
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -467,9 +449,9 @@ GameObject:
- component: {fileID: 5295567073180248356} - component: {fileID: 5295567073180248356}
- component: {fileID: 688176918831081180} - component: {fileID: 688176918831081180}
- component: {fileID: 3522630547589622128} - component: {fileID: 3522630547589622128}
- component: {fileID: 4152409555847978467}
- component: {fileID: 4484393045093388587} - component: {fileID: 4484393045093388587}
- component: {fileID: 2442273134423229941} - component: {fileID: 2442273134423229941}
- component: {fileID: 8933622434396077949}
m_Layer: 0 m_Layer: 0
m_Name: OctoPlayerFP m_Name: OctoPlayerFP
m_TagString: Player m_TagString: Player
@@ -531,12 +513,13 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c85c0434d95406f4da8daa149ba90838, type: 3} m_Script: {fileID: 11500000, guid: c85c0434d95406f4da8daa149ba90838, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: OctoCore.Runtime::OctoCore.Components.OctoPlayer m_EditorClassIdentifier: OctoCore.Runtime::OctoCore.Components.OctoPlayer
State: _state:
IsFocussed: 0 IsFocussed: 0
IsPaused: 0 IsPaused: 0
IsRunning: 0 IsRunning: 0
Yaw: 0 Yaw: 0
Pitch: 0 Pitch: 0
SpeedMultiplier: 1
Driver: {fileID: 0} Driver: {fileID: 0}
_references: _references:
Controller: {fileID: 1735456339091181674} Controller: {fileID: 1735456339091181674}
@@ -545,6 +528,8 @@ MonoBehaviour:
Orientation: 1 Orientation: 1
AllowMove: 1 AllowMove: 1
AllowLook: 1 AllowLook: 1
AllowRun: 1
AllowJump: 1
WalkSpeed: 10 WalkSpeed: 10
RunSpeed: 20 RunSpeed: 20
JumpDuration: 0.4 JumpDuration: 0.4
@@ -561,6 +546,8 @@ MonoBehaviour:
SensitivityY: 0.1 SensitivityY: 0.1
MinPitch: -80 MinPitch: -80
MaxPitch: 80 MaxPitch: 80
ReferenceYaw: 0
RangeYaw: 360
--- !u!114 &688176918831081180 --- !u!114 &688176918831081180
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -586,19 +573,6 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Unheimlich.Gameplay.Player.CameraEffects m_EditorClassIdentifier: Assembly-CSharp::Unheimlich.Gameplay.Player.CameraEffects
Settings: {fileID: 11400000, guid: 28f72f5bbd71f384a86c547567dbb5bf, type: 2} Settings: {fileID: 11400000, guid: 28f72f5bbd71f384a86c547567dbb5bf, type: 2}
--- !u!114 &4152409555847978467
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8162540767767967414}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 464960797e705e84a9eb87ecce4e9311, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Unheimlich.Interactions.Core.PlayerInspectionHandler
_inspectionHoldPoint: {fileID: 6579694192787271975}
--- !u!114 &4484393045093388587 --- !u!114 &4484393045093388587
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -644,3 +618,19 @@ MonoBehaviour:
_groundLayer: _groundLayer:
serializedVersion: 2 serializedVersion: 2
m_Bits: 4294967295 m_Bits: 4294967295
--- !u!114 &8933622434396077949
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8162540767767967414}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 84fb04a3132ab974e96cb88e98eb4d4e, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Audio_BreathControl
PlayerBreath:
idInternal: 0
valueGuidInternal:
WwiseObjectReference: {fileID: 11400000, guid: 6bbb87b9e5c5efc4984e49f95d6c683d, type: 2}