diff --git a/Assets/Wwise/ScriptableObjects/AuxBus/16227FDF-2CE5-4854-BF03-45B480915A36.asset b/Assets/Wwise/ScriptableObjects/AuxBus/16227FDF-2CE5-4854-BF03-45B480915A36.asset new file mode 100644 index 00000000..9d865fb1 --- /dev/null +++ b/Assets/Wwise/ScriptableObjects/AuxBus/16227FDF-2CE5-4854-BF03-45B480915A36.asset @@ -0,0 +1,17 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 77e3d3b5bdf02bf45bd2e7da6fbcd3f8, type: 3} + m_Name: 16227FDF-2CE5-4854-BF03-45B480915A36 + m_EditorClassIdentifier: AK.Wwise.Unity.API.WwiseTypes::WwiseAuxBusReference + objectName: Shrine + id: 407166184 + guid: 16227FDF-2CE5-4854-BF03-45B480915A36 diff --git a/Assets/Wwise/ScriptableObjects/AuxBus/16227FDF-2CE5-4854-BF03-45B480915A36.asset.meta b/Assets/Wwise/ScriptableObjects/AuxBus/16227FDF-2CE5-4854-BF03-45B480915A36.asset.meta new file mode 100644 index 00000000..4f6f881b --- /dev/null +++ b/Assets/Wwise/ScriptableObjects/AuxBus/16227FDF-2CE5-4854-BF03-45B480915A36.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8edff76a7ebdc724f99e1a185a3b9fca +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Wwise/ScriptableObjects/Event/B5EC1C98-0914-455D-8799-5E219FF0CC8E.asset b/Assets/Wwise/ScriptableObjects/Event/B5EC1C98-0914-455D-8799-5E219FF0CC8E.asset new file mode 100644 index 00000000..a9f56c6c --- /dev/null +++ b/Assets/Wwise/ScriptableObjects/Event/B5EC1C98-0914-455D-8799-5E219FF0CC8E.asset @@ -0,0 +1,18 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c945e91273b87a045b723cc8ddded56c, type: 3} + m_Name: B5EC1C98-0914-455D-8799-5E219FF0CC8E + m_EditorClassIdentifier: AK.Wwise.Unity.API.WwiseTypes::WwiseEventReference + objectName: Play_Amb_Shrine_Placeholder + id: 299158562 + guid: B5EC1C98-0914-455D-8799-5E219FF0CC8E + IsInUserDefinedSoundBank: 0 diff --git a/Assets/Wwise/ScriptableObjects/Event/B5EC1C98-0914-455D-8799-5E219FF0CC8E.asset.meta b/Assets/Wwise/ScriptableObjects/Event/B5EC1C98-0914-455D-8799-5E219FF0CC8E.asset.meta new file mode 100644 index 00000000..7aef5d9e --- /dev/null +++ b/Assets/Wwise/ScriptableObjects/Event/B5EC1C98-0914-455D-8799-5E219FF0CC8E.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fd209721adb125a49b17c39628671a14 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/_Content/Scenes/Testing/Sound Design Test/Hugo/Theatre_TestMusic.unity b/Assets/_Content/Scenes/Testing/Sound Design Test/Hugo/Theatre_TestMusic.unity index 665bb559..7d4c5a20 100644 --- a/Assets/_Content/Scenes/Testing/Sound Design Test/Hugo/Theatre_TestMusic.unity +++ b/Assets/_Content/Scenes/Testing/Sound Design Test/Hugo/Theatre_TestMusic.unity @@ -785,7 +785,7 @@ PrefabInstance: serializedVersion: 2 m_Modification: serializedVersion: 3 - m_TransformParent: {fileID: 0} + m_TransformParent: {fileID: 949216163} m_Modifications: - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} propertyPath: initialState @@ -794,11 +794,11 @@ PrefabInstance: - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} propertyPath: 'rooms.Array.data[0]' value: - objectReference: {fileID: 400900259} + objectReference: {fileID: 1183745657} - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} propertyPath: 'rooms.Array.data[1]' value: - objectReference: {fileID: 1183745657} + objectReference: {fileID: 400900259} - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} propertyPath: closePortalTriggerList.Array.size value: 1 @@ -2375,6 +2375,11 @@ MonoBehaviour: scalingFactor: 1 m_posOffsetData: {fileID: 0} listenerMask: 1 +--- !u!4 &400900268 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + m_PrefabInstance: {fileID: 1669996383} + m_PrefabAsset: {fileID: 0} --- !u!114 &420672364 stripped MonoBehaviour: m_CorrespondingSourceObject: {fileID: 5295567073180248356, guid: bfb9a06a57603714ca245d62fcd622f1, type: 3} @@ -2440,6 +2445,87 @@ MeshCollider: m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: -8697944735082660400, guid: 026d90e6b31bf0f47b6072ba92aef39a, type: 3} +--- !u!1001 &437248108 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 506323320} + m_Modifications: + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalScale.x + value: 72.923 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalScale.y + value: 12.522507 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalScale.z + value: 72.052 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalPosition.x + value: -0.93 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalPosition.y + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalPosition.z + value: 35.589996 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5808716582761680893, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: m_Name + value: WwiseAkRoom_Shrine + objectReference: {fileID: 0} + - target: {fileID: 9175439339295666836, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: isStatic + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9175439339295666836, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: reverbAuxBus.WwiseObjectReference + value: + objectReference: {fileID: 11400000, guid: 8edff76a7ebdc724f99e1a185a3b9fca, type: 2} + - target: {fileID: 9175439339295666836, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + propertyPath: roomToneEvent.WwiseObjectReference + value: + objectReference: {fileID: 11400000, guid: fd209721adb125a49b17c39628671a14, type: 2} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} --- !u!1001 &493120291 PrefabInstance: m_ObjectHideFlags: 0 @@ -2527,12 +2613,13 @@ Transform: m_GameObject: {fileID: 506323319} serializedVersion: 2 m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 1.6, z: 17.5} + m_LocalPosition: {x: 0, y: 1.6, z: 18.12} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - {fileID: 1288571885} - {fileID: 525442567} + - {fileID: 768988623} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &525442566 @@ -2715,6 +2802,7 @@ Transform: - {fileID: 1184696429} - {fileID: 1010806617} - {fileID: 62886214} + - {fileID: 1510381556} m_Father: {fileID: 1168906488} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &642044301 @@ -3198,6 +3286,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: OctoCore.Runtime::OctoCore.OctoPlayerDrive _state: + ForcePlayerToFollowTarget: 0 MoveInfluence: 0 LookInfluence: 0 YawRange: 0 @@ -3881,6 +3970,16 @@ Transform: m_CorrespondingSourceObject: {fileID: 992638687589661580, guid: 8a998c00fc583a54082d05343d747b99, type: 3} m_PrefabInstance: {fileID: 763495851} m_PrefabAsset: {fileID: 0} +--- !u!1 &768988622 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 5808716582761680893, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + m_PrefabInstance: {fileID: 437248108} + m_PrefabAsset: {fileID: 0} +--- !u!4 &768988623 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + m_PrefabInstance: {fileID: 437248108} + m_PrefabAsset: {fileID: 0} --- !u!1 &778702994 GameObject: m_ObjectHideFlags: 0 @@ -4835,6 +4934,10 @@ Transform: - {fileID: 99572583} - {fileID: 1698321438} - {fileID: 1005038677} + - {fileID: 400900268} + - {fileID: 1183745663} + - {fileID: 2108552824} + - {fileID: 1209570309} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &969376093 @@ -5164,7 +5267,7 @@ PrefabInstance: serializedVersion: 2 m_Modification: serializedVersion: 3 - m_TransformParent: {fileID: 0} + m_TransformParent: {fileID: 949216163} m_Modifications: - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} propertyPath: initialState @@ -5188,7 +5291,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} propertyPath: m_LocalScale.x - value: 2.586735 + value: 2.5867348 objectReference: {fileID: 0} - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} propertyPath: m_LocalScale.y @@ -6227,6 +6330,11 @@ CapsuleCollider: m_Height: 2.8500001 m_Direction: 1 m_Center: {x: 0, y: 0, z: 0.057512857} +--- !u!4 &1183745663 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} + m_PrefabInstance: {fileID: 1883184587} + m_PrefabAsset: {fileID: 0} --- !u!1 &1184696428 GameObject: m_ObjectHideFlags: 0 @@ -6405,6 +6513,11 @@ Transform: - {fileID: 249418330} m_Father: {fileID: 1005038677} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &1209570309 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + m_PrefabInstance: {fileID: 169436109} + m_PrefabAsset: {fileID: 0} --- !u!1 &1288571884 GameObject: m_ObjectHideFlags: 0 @@ -7312,6 +7425,31 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1473575307} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1510381555 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 6343402130829429606, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + m_PrefabInstance: {fileID: 1932581313} + m_PrefabAsset: {fileID: 0} +--- !u!4 &1510381556 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + m_PrefabInstance: {fileID: 1932581313} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1510381559 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1510381555} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 91cc4e26ea2e2184e8b6daded59d727a, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::Audio_MoveRoomPosition + targetObject: {fileID: 768988622} + playerTag: Player + targetLocalPosition: {x: -0.93, y: 6, z: 2.8} --- !u!1001 &1512233995 PrefabInstance: m_ObjectHideFlags: 0 @@ -7569,7 +7707,7 @@ PrefabInstance: serializedVersion: 2 m_Modification: serializedVersion: 3 - m_TransformParent: {fileID: 0} + m_TransformParent: {fileID: 949216163} m_Modifications: - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} propertyPath: m_LocalScale.x @@ -11393,7 +11531,7 @@ PrefabInstance: serializedVersion: 2 m_Modification: serializedVersion: 3 - m_TransformParent: {fileID: 0} + m_TransformParent: {fileID: 949216163} m_Modifications: - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} propertyPath: m_LocalScale.x @@ -11425,15 +11563,15 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} propertyPath: m_LocalRotation.x - value: 0 + value: -0 objectReference: {fileID: 0} - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} propertyPath: m_LocalRotation.y - value: 0 + value: -0 objectReference: {fileID: 0} - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} propertyPath: m_LocalRotation.z - value: 0 + value: -0 objectReference: {fileID: 0} - target: {fileID: 2721267321453921552, guid: a4ca96f09a0c04645aa697def551b52d, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -11701,6 +11839,98 @@ Transform: m_CorrespondingSourceObject: {fileID: 5806845514899202101, guid: aec729894f9f57b46b671ad6de6dfd31, type: 3} m_PrefabInstance: {fileID: 864216750} m_PrefabAsset: {fileID: 0} +--- !u!1001 &1932581313 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 588101098} + m_Modifications: + - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: isStatic + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: 'rooms.Array.data[0]' + value: + objectReference: {fileID: 400900259} + - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: 'rooms.Array.data[1]' + value: + objectReference: {fileID: 400900259} + - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: closePortalTriggerList.Array.size + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 486610814786665955, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: 'closePortalTriggerList.Array.data[0]' + value: 1794322239 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalScale.x + value: 3.5324 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalScale.y + value: 4.524716 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalScale.z + value: 2.851914 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalPosition.x + value: 0.07 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalPosition.y + value: 2.31 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalPosition.z + value: -0.01 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6343402130829429606, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + propertyPath: m_Name + value: WwiseAkPortal_Shrine + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: + - targetCorrespondingSourceObject: {fileID: 6343402130829429606, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + insertIndex: -1 + addedObject: {fileID: 1510381559} + m_SourcePrefab: {fileID: 100100000, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} --- !u!1 &1954982144 GameObject: m_ObjectHideFlags: 0 @@ -12153,6 +12383,11 @@ Transform: - {fileID: 1954982145} m_Father: {fileID: 271893342} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &2108552824 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2139006246699689267, guid: 1a1f68df68c59324b800a02a69704c4c, type: 3} + m_PrefabInstance: {fileID: 1013091606} + m_PrefabAsset: {fileID: 0} --- !u!1 &2117369717 GameObject: m_ObjectHideFlags: 0 @@ -16297,7 +16532,3 @@ SceneRoots: - {fileID: 710358848} - {fileID: 91432472} - {fileID: 1981624591} - - {fileID: 1669996383} - - {fileID: 1883184587} - - {fileID: 1013091606} - - {fileID: 169436109} diff --git a/Assets/_Content/Scripts/Core/Audio/Audio_MoveRoomPosition.cs b/Assets/_Content/Scripts/Core/Audio/Audio_MoveRoomPosition.cs new file mode 100644 index 00000000..173936e3 --- /dev/null +++ b/Assets/_Content/Scripts/Core/Audio/Audio_MoveRoomPosition.cs @@ -0,0 +1,18 @@ +using UnityEngine; + + +public class Audio_MoveRoomPosition : MonoBehaviour +{ + public GameObject targetObject; + public string playerTag = "Player"; + public Vector3 targetLocalPosition; + + private void OnTriggerEnter(Collider other) + { + if (!other.CompareTag(playerTag)) return; + if (targetObject == null) return; + + targetObject.transform.localPosition = targetLocalPosition; + } + +} diff --git a/Assets/_Content/Scripts/Core/Audio/Audio_MoveRoomPosition.cs.meta b/Assets/_Content/Scripts/Core/Audio/Audio_MoveRoomPosition.cs.meta new file mode 100644 index 00000000..c5e482d2 --- /dev/null +++ b/Assets/_Content/Scripts/Core/Audio/Audio_MoveRoomPosition.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 91cc4e26ea2e2184e8b6daded59d727a \ No newline at end of file