feat : Music Trigger prefab working

This commit is contained in:
Hugo Le Bolloc'h
2026-04-02 14:48:52 +02:00
parent 50f8b41e57
commit 610f85e4ba
55 changed files with 1142 additions and 43 deletions
@@ -454,6 +454,11 @@ MonoBehaviour:
_groundLayer:
serializedVersion: 2
m_Bits: 4294967295
--- !u!143 &935580428 stripped
CharacterController:
m_CorrespondingSourceObject: {fileID: 1735456339091181674, guid: 524ca0dabcf93844ea5f981410f44310, type: 3}
m_PrefabInstance: {fileID: 1930280930}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1391553828
GameObject:
m_ObjectHideFlags: 0
@@ -1476,6 +1481,83 @@ MonoBehaviour:
eventIdInternal: 0
valueGuidInternal:
m_callbackDataInternal: {fileID: 0}
--- !u!1001 &1250423863045520849
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 374689770649026043, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_Name
value: MusicStateTrigger
objectReference: {fileID: 0}
- target: {fileID: 374689770649026043, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalPosition.x
value: 0.2
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalPosition.y
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalPosition.z
value: 4.67
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4194789067609018764, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8956352940254310143, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: triggerOnExit
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8956352940254310143, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: exitMusicState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8956352940254310143, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: playerCollider
value:
objectReference: {fileID: 935580428}
- target: {fileID: 8956352940254310143, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
propertyPath: targetMusicState
value: 4
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: aa5fd76235a9d7f42b164cfd00ee58a4, type: 3}
--- !u!1001 &1671855845641723936
PrefabInstance:
m_ObjectHideFlags: 0
@@ -1524,10 +1606,22 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4908846766475971086, guid: 61f7fe4128138164295ef34aae4f6659, type: 3}
propertyPath: PlayMusic.WwiseObjectReference
value:
objectReference: {fileID: 11400000, guid: 4303be4199a066247b73a540c1bf916a, type: 2}
- target: {fileID: 4908846766475971086, guid: 61f7fe4128138164295ef34aae4f6659, type: 3}
propertyPath: StopMusic.WwiseObjectReference
value:
objectReference: {fileID: 11400000, guid: 30074da3ee405904689ea5fcccb862bb, type: 2}
- target: {fileID: 6521978618824486866, guid: 61f7fe4128138164295ef34aae4f6659, type: 3}
propertyPath: m_Name
value: AudioManager
objectReference: {fileID: 0}
- target: {fileID: 6521978618824486866, guid: 61f7fe4128138164295ef34aae4f6659, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -1547,3 +1641,4 @@ SceneRoots:
- {fileID: 1586552169}
- {fileID: 661203445}
- {fileID: 1671855845641723936}
- {fileID: 1250423863045520849}