From f5630b4140436a33def093c011dbe5c97c0bcef1 Mon Sep 17 00:00:00 2001 From: Cat Flynn Date: Mon, 10 May 2021 16:58:47 +0100 Subject: [PATCH] fix falling floor --- .../Freeze Levels/Freeze Level 1.prefab | 1222 +++++------------ .../Scenes/FreezeSequence/Freeze1.unity | 154 ++- game/Assets/Scripts/Traps/FallawayFloor.cs | 48 +- 3 files changed, 480 insertions(+), 944 deletions(-) diff --git a/game/Assets/Prefabs/Puzzles/Freeze Levels/Freeze Level 1.prefab b/game/Assets/Prefabs/Puzzles/Freeze Levels/Freeze Level 1.prefab index 24bda20..ac2fd9c 100644 --- a/game/Assets/Prefabs/Puzzles/Freeze Levels/Freeze Level 1.prefab +++ b/game/Assets/Prefabs/Puzzles/Freeze Levels/Freeze Level 1.prefab @@ -147,42 +147,20 @@ Transform: m_Children: - {fileID: 20060037577051157} - {fileID: 562383715354482240} - - {fileID: 8164979977992231164} - - {fileID: 8164979979169166208} - - {fileID: 20060036375801200} - {fileID: 4465365964454472984} - {fileID: 562383715498334875} - - {fileID: 20060037679400276} - - {fileID: 20060036794542516} - - {fileID: 8164979979093022160} - - {fileID: 8164979977984596284} - {fileID: 562383713938988229} - {fileID: 562383714451495805} - {fileID: 562383715439183755} - {fileID: 562383715543888831} - {fileID: 562383714023920747} - {fileID: 562383714043975238} - - {fileID: 8572624381536379096} - - {fileID: 3281454039531256279} - - {fileID: 2798628020550802209} - {fileID: 3846930047230017746} - - {fileID: 562403103976668152} - - {fileID: 246302487956808223} - - {fileID: 5931239342839183463} - - {fileID: 5626046661422345216} - - {fileID: 9002542913813899778} - {fileID: 4635162623093718940} - - {fileID: 2446676530515509889} - - {fileID: 623706336143379586} - - {fileID: 56587754829128422} - - {fileID: 8377478462563010161} - - {fileID: 2576509376662315510} - - {fileID: 5458660025359468937} - - {fileID: 3550467916795455046} - - {fileID: 4534230780277584132} - - {fileID: 1068680371193017537} - {fileID: 3803039817882353172} - {fileID: 3786457437779540425} + - {fileID: 8505024453876751897} + - {fileID: 4246390294668898396} m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -213,11 +191,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 20060036375801204} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 13.588127, y: 19.364407, z: -54.67813} - m_LocalScale: {x: 6.12, y: 1, z: 10.7} + m_LocalPosition: {x: 13.7903, y: 19.364407, z: -54.67813} + m_LocalScale: {x: 6.524532, y: 1, z: 10.7} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 4 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &20060036375801203 MeshFilter: @@ -311,8 +289,8 @@ Transform: m_LocalPosition: {x: -15.211872, y: 13.364407, z: -46.37813} m_LocalScale: {x: 73, y: 1, z: 46} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 8 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &20060036794542519 MeshFilter: @@ -496,11 +474,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 20060037679400264} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -34.611874, y: 20.764406, z: -43.37813} + m_LocalPosition: {x: -23.761875, y: 19.53, z: -51.14} m_LocalScale: {x: 6.12, y: 1, z: 10.7} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 7 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &20060037679400279 MeshFilter: @@ -689,8 +667,8 @@ Transform: m_LocalPosition: {x: 17.430002, y: 32.08, z: -56.399998} m_LocalScale: {x: 1, y: 18.32, z: 56.57} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 32 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 11 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &4081372460170088665 MeshFilter: @@ -881,7 +859,7 @@ MeshCollider: m_GameObject: {fileID: 902459002925747452} m_Material: {fileID: 0} m_IsTrigger: 0 - m_Enabled: 1 + m_Enabled: 0 serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 @@ -895,7 +873,7 @@ MeshCollider: m_GameObject: {fileID: 902459002953928401} m_Material: {fileID: 0} m_IsTrigger: 0 - m_Enabled: 1 + m_Enabled: 0 serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 @@ -909,7 +887,7 @@ MeshCollider: m_GameObject: {fileID: 902459003599634887} m_Material: {fileID: 0} m_IsTrigger: 0 - m_Enabled: 1 + m_Enabled: 0 serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 @@ -923,7 +901,7 @@ MeshCollider: m_GameObject: {fileID: 902459004486510853} m_Material: {fileID: 0} m_IsTrigger: 0 - m_Enabled: 1 + m_Enabled: 0 serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 @@ -937,7 +915,7 @@ MeshCollider: m_GameObject: {fileID: 902459004583140657} m_Material: {fileID: 0} m_IsTrigger: 0 - m_Enabled: 1 + m_Enabled: 0 serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 @@ -951,7 +929,7 @@ MeshCollider: m_GameObject: {fileID: 902459004836072698} m_Material: {fileID: 0} m_IsTrigger: 0 - m_Enabled: 1 + m_Enabled: 0 serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 @@ -1199,8 +1177,8 @@ Transform: m_LocalPosition: {x: 17.43, y: 18.92, z: -40.1} m_LocalScale: {x: 1, y: 18.32, z: 30.3} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 33 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 12 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &4874377031657127773 MeshFilter: @@ -1875,101 +1853,6 @@ MeshRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_AdditionalVertexStreams: {fileID: 0} ---- !u!1 &2602136187411380414 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1068680371193017537} - - component: {fileID: 7967263581314920615} - - component: {fileID: 7451315154192876023} - - component: {fileID: 1013993675874656013} - m_Layer: 0 - m_Name: Cube (8) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1068680371193017537 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2602136187411380414} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -3.78, y: 14.39, z: -57.78} - m_LocalScale: {x: 3.809721, y: 1, z: 2.9609756} - m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 35 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!33 &7967263581314920615 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2602136187411380414} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &7451315154192876023 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2602136187411380414} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!65 &1013993675874656013 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2602136187411380414} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} --- !u!1 &2727335082766916266 GameObject: m_ObjectHideFlags: 0 @@ -2371,12 +2254,12 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 3223510959207400318} - m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} m_LocalPosition: {x: -14.9, y: 22.1, z: -22.6} m_LocalScale: {x: 1, y: 18.32, z: 73.7} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 19 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!33 &1342833280184527833 MeshFilter: @@ -2470,8 +2353,8 @@ Transform: m_LocalPosition: {x: -52.4, y: 33.46, z: -43.5} m_LocalScale: {x: 1, y: 18.32, z: 56.57} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 28 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 7 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &5831040905557935252 MeshFilter: @@ -2565,8 +2448,8 @@ Transform: m_LocalPosition: {x: 17.430002, y: 10.170001, z: -56.399998} m_LocalScale: {x: 1, y: 18.32, z: 56.57} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 31 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 10 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &8055737956228789778 MeshFilter: @@ -2954,8 +2837,8 @@ Transform: m_LocalPosition: {x: 17.430002, y: 18.92, z: -71.1} m_LocalScale: {x: 1, y: 18.32, z: 26.9} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 34 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 13 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &4008875293697069398 MeshFilter: @@ -3019,196 +2902,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 1, y: 1, z: 1} m_Center: {x: 0, y: 0, z: 0} ---- !u!1 &4020230382085409534 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5931239342839183463} - - component: {fileID: 4159454990744063861} - - component: {fileID: 1410426658762774151} - - component: {fileID: 4202929935815541658} - m_Layer: 0 - m_Name: staircase (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &5931239342839183463 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4020230382085409534} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 13.3, y: 17.17, z: -61.5} - m_LocalScale: {x: 15.2, y: 1.19, z: 2.92} - m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 23 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!33 &4159454990744063861 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4020230382085409534} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &1410426658762774151 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4020230382085409534} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!65 &4202929935815541658 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4020230382085409534} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!1 &4049617506084954828 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 9002542913813899778} - - component: {fileID: 326829263743975652} - - component: {fileID: 5830192125793871548} - - component: {fileID: 825942109877127891} - m_Layer: 0 - m_Name: staircase (4) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &9002542913813899778 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4049617506084954828} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 15.58, y: 18.57, z: -61.5} - m_LocalScale: {x: 5.4, y: 1.19, z: 2.92} - m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 25 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!33 &326829263743975652 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4049617506084954828} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &5830192125793871548 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4049617506084954828} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!65 &825942109877127891 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4049617506084954828} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} --- !u!1 &4162286607358623739 GameObject: m_ObjectHideFlags: 0 @@ -3408,7 +3101,7 @@ MeshCollider: m_GameObject: {fileID: 4579259480159249582} m_Material: {fileID: 0} m_IsTrigger: 0 - m_Enabled: 1 + m_Enabled: 0 serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 @@ -3422,7 +3115,7 @@ MeshCollider: m_GameObject: {fileID: 4595890807999587187} m_Material: {fileID: 0} m_IsTrigger: 0 - m_Enabled: 1 + m_Enabled: 0 serializedVersion: 4 m_Convex: 0 m_CookingOptions: 30 @@ -3453,12 +3146,12 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4662338581571460710} - m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} - m_LocalPosition: {x: -43.48, y: 20.764406, z: -43.37813} - m_LocalScale: {x: 1.99, y: 1, z: 20.07} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -32.63, y: 19.53, z: -51.14} + m_LocalScale: {x: 1.99, y: 1, z: 20.069998} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 27 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!33 &3955437678086731848 MeshFilter: @@ -4177,8 +3870,8 @@ Transform: m_LocalPosition: {x: -52.4, y: 20.3, z: -14.1} m_LocalScale: {x: 1, y: 18.32, z: 56.57} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 29 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 8 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &5097727527658558836 MeshFilter: @@ -4846,101 +4539,20 @@ MeshRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_AdditionalVertexStreams: {fileID: 0} ---- !u!1 &7225589499758772004 -GameObject: +--- !u!64 &2426985424780534694 +MeshCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5626046661422345216} - - component: {fileID: 3518084433130055367} - - component: {fileID: 3247381221621122122} - - component: {fileID: 2310030240428654811} - m_Layer: 0 - m_Name: staircase (3) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &5626046661422345216 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7225589499758772004} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 11.64, y: 17.92, z: -61.5} - m_LocalScale: {x: 4.6, y: 1.19, z: 2.92} - m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 24 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!33 &3518084433130055367 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7225589499758772004} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &3247381221621122122 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7225589499758772004} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!65 &2310030240428654811 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7225589499758772004} + m_GameObject: {fileID: 7252998261761054088} m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} + serializedVersion: 4 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 5640169193314376071, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} --- !u!1 &7267071255695931703 GameObject: m_ObjectHideFlags: 0 @@ -4968,11 +4580,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7267071255695931703} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -52.4, y: 11.55, z: -43.5} + m_LocalPosition: {x: -52.4, y: 9.2, z: -43.5} m_LocalScale: {x: 1, y: 18.32, z: 56.57} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 17 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &2644110396395732293 MeshFilter: @@ -5143,12 +4755,12 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7480555066095610473} - m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} m_LocalPosition: {x: -14.9, y: 22.1, z: -70.9} m_LocalScale: {x: 1, y: 18.32, z: 73.7} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 18 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!33 &4619516259887749144 MeshFilter: @@ -5212,6 +4824,52 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 1, y: 1, z: 1} m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &7648086745656298086 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4246390294668898396} + m_Layer: 0 + m_Name: Collision + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4246390294668898396 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7648086745656298086} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 20060036375801200} + - {fileID: 20060037679400276} + - {fileID: 20060036794542516} + - {fileID: 8572624381536379096} + - {fileID: 3281454039531256279} + - {fileID: 2798628020550802209} + - {fileID: 2446676530515509889} + - {fileID: 623706336143379586} + - {fileID: 56587754829128422} + - {fileID: 8377478462563010161} + - {fileID: 2576509376662315510} + - {fileID: 5458660025359468937} + - {fileID: 3550467916795455046} + - {fileID: 4534230780277584132} + - {fileID: 7309735093149603237} + - {fileID: 6883804307046207227} + m_Father: {fileID: 20060035715551253} + m_RootOrder: 15 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &7651696045438393736 GameObject: m_ObjectHideFlags: 0 @@ -5425,7 +5083,7 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 1.7892379, y: 0.100711815, z: 1.7912163} m_Center: {x: -0.88613075, y: 0.043598715, z: -0.895608} ---- !u!1 &8289470846971057266 +--- !u!1 &8230139356123281883 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -5433,47 +5091,47 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 246302487956808223} - - component: {fileID: 7976581843962462796} - - component: {fileID: 4094011335423500673} - - component: {fileID: 2308215506055446378} + - component: {fileID: 7309735093149603237} + - component: {fileID: 7331115165882210667} + - component: {fileID: 3122911353898645798} + - component: {fileID: 1533667466138326444} m_Layer: 0 - m_Name: staircase (1) + m_Name: Cube (8) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &246302487956808223 +--- !u!4 &7309735093149603237 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8289470846971057266} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 12.05, y: 16.43, z: -61.5} - m_LocalScale: {x: 19.7, y: 1.19, z: 2.92} + m_GameObject: {fileID: 8230139356123281883} + m_LocalRotation: {x: -0, y: -0, z: 0.27352676, w: 0.9618645} + m_LocalPosition: {x: 8.96, y: 16.35, z: -61.52} + m_LocalScale: {x: 11.802652, y: 1, z: 3.0467613} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 22 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!33 &7976581843962462796 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 14 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 31.749} +--- !u!33 &7331115165882210667 MeshFilter: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8289470846971057266} + m_GameObject: {fileID: 8230139356123281883} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &4094011335423500673 +--- !u!23 &3122911353898645798 MeshRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8289470846971057266} - m_Enabled: 1 + m_GameObject: {fileID: 8230139356123281883} + m_Enabled: 0 m_CastShadows: 1 m_ReceiveShadows: 1 m_DynamicOccludee: 1 @@ -5507,13 +5165,13 @@ MeshRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_AdditionalVertexStreams: {fileID: 0} ---- !u!65 &2308215506055446378 +--- !u!65 &1533667466138326444 BoxCollider: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8289470846971057266} + m_GameObject: {fileID: 8230139356123281883} m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 @@ -5645,8 +5303,8 @@ Transform: m_LocalPosition: {x: -52.4, y: 20.3, z: -72.64} m_LocalScale: {x: 1, y: 18.32, z: 56.57} m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 30 + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 9 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &3884226645699734501 MeshFilter: @@ -5710,101 +5368,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 1, y: 1, z: 1} m_Center: {x: 0, y: 0, z: 0} ---- !u!1 &8688434974650196256 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 562403103976668152} - - component: {fileID: 6179096286075709228} - - component: {fileID: 844140334376731484} - - component: {fileID: 3634776865427488808} - m_Layer: 0 - m_Name: staircase - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &562403103976668152 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8688434974650196256} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 5.87, y: 14.98, z: -61.5} - m_LocalScale: {x: 20.8, y: 2.6, z: 2.92} - m_Children: [] - m_Father: {fileID: 20060035715551253} - m_RootOrder: 21 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!33 &6179096286075709228 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8688434974650196256} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &844140334376731484 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8688434974650196256} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!65 &3634776865427488808 -BoxCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8688434974650196256} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} --- !u!1 &8726725727660685014 GameObject: m_ObjectHideFlags: 0 @@ -5995,6 +5558,115 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 1.7892379, y: 0.100711815, z: 1.7912163} m_Center: {x: -0.88613075, y: 0.043598715, z: -0.895608} +--- !u!1 &9020469022205953731 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6883804307046207227} + - component: {fileID: 2037439364408154971} + - component: {fileID: 42937551503548743} + - component: {fileID: 8002682227041880940} + m_Layer: 0 + m_Name: Cube (9) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6883804307046207227 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9020469022205953731} + m_LocalRotation: {x: -0, y: -0, z: 0.015258161, w: 0.9998836} + m_LocalPosition: {x: 15.37, y: 19.4243, z: -61.52} + m_LocalScale: {x: 3.1674724, y: 1, z: 3.0467613} + m_Children: [] + m_Father: {fileID: 4246390294668898396} + m_RootOrder: 15 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 1.749} +--- !u!33 &2037439364408154971 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9020469022205953731} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &42937551503548743 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9020469022205953731} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!65 &8002682227041880940 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9020469022205953731} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!64 &357215469269252294 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9028655130985481379} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 0 + serializedVersion: 4 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 1783978739445199337, guid: f73d020fede261d4bac919488c8a778d, type: 3} --- !u!1001 &20060035711784020 PrefabInstance: m_ObjectHideFlags: 0 @@ -6004,7 +5676,7 @@ PrefabInstance: m_Modifications: - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_RootOrder - value: 14 + value: 7 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalScale.z @@ -6012,7 +5684,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.x - value: 2.1981268 + value: 9.53 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.y @@ -6075,7 +5747,7 @@ PrefabInstance: m_Modifications: - target: {fileID: -8679921383154817045, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} propertyPath: m_RootOrder - value: 6 + value: 3 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} propertyPath: m_LocalPosition.x @@ -6137,7 +5809,7 @@ PrefabInstance: m_Modifications: - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_RootOrder - value: 13 + value: 6 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalScale.z @@ -6145,7 +5817,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.x - value: 5.768127 + value: 10.6 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.y @@ -6199,68 +5871,6 @@ GameObject: m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} m_PrefabInstance: {fileID: 20060035808419936} m_PrefabAsset: {fileID: 0} ---- !u!1001 &20060035919018377 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 20060035715551253} - m_Modifications: - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_RootOrder - value: 3 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.x - value: -11.551872 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.y - value: 20.764406 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.z - value: -45.258133 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: -36.672 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8773676356524340268, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_Name - value: FallawayFloor (1) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} ---- !u!4 &8164979979169166208 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - m_PrefabInstance: {fileID: 20060035919018377} - m_PrefabAsset: {fileID: 0} --- !u!1001 &20060035926618539 PrefabInstance: m_ObjectHideFlags: 0 @@ -6278,7 +5888,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.x - value: 12.758127 + value: 12.88 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.y @@ -6322,77 +5932,15 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f73d020fede261d4bac919488c8a778d, type: 3} ---- !u!1 &902459004836072698 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} - m_PrefabInstance: {fileID: 20060035926618539} - m_PrefabAsset: {fileID: 0} --- !u!4 &562383715354482240 stripped Transform: m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} m_PrefabInstance: {fileID: 20060035926618539} m_PrefabAsset: {fileID: 0} ---- !u!1001 &20060036129333209 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 20060035715551253} - m_Modifications: - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_RootOrder - value: 9 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.x - value: -21.011871 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.y - value: 20.764406 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.z - value: -45.578133 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: -36.672 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8773676356524340268, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_Name - value: FallawayFloor (3) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} ---- !u!4 &8164979979093022160 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - m_PrefabInstance: {fileID: 20060036129333209} +--- !u!1 &902459004836072698 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} + m_PrefabInstance: {fileID: 20060035926618539} m_PrefabAsset: {fileID: 0} --- !u!1001 &20060036246786034 PrefabInstance: @@ -6407,7 +5955,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4449396798674854634, guid: 373acc46f7fa7eb4b9cfba9c3e17b6ca, type: 3} propertyPath: m_RootOrder - value: 5 + value: 2 objectReference: {fileID: 0} - target: {fileID: 4449396798674854634, guid: 373acc46f7fa7eb4b9cfba9c3e17b6ca, type: 3} propertyPath: m_LocalScale.x @@ -6473,7 +6021,7 @@ PrefabInstance: m_Modifications: - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_RootOrder - value: 12 + value: 5 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalScale.z @@ -6481,7 +6029,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.x - value: 9.248127 + value: 11.84 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.y @@ -6493,7 +6041,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.w - value: 0.7071068 + value: 0.7103928 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.x @@ -6501,7 +6049,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.y - value: -0.7071068 + value: -0.7038055 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.z @@ -6513,7 +6061,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalEulerAnglesHint.y - value: 0 + value: -89.466 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalEulerAnglesHint.z @@ -6535,130 +6083,6 @@ Transform: m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} m_PrefabInstance: {fileID: 20060036837801110} m_PrefabAsset: {fileID: 0} ---- !u!1001 &20060037104325365 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 20060035715551253} - m_Modifications: - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.x - value: -15.8118725 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.y - value: 20.764406 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.z - value: -42.87813 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: -36.672 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8773676356524340268, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_Name - value: FallawayFloor (2) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} ---- !u!4 &8164979977992231164 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - m_PrefabInstance: {fileID: 20060037104325365} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &20060037114057525 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 20060035715551253} - m_Modifications: - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_RootOrder - value: 10 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.x - value: -26.411873 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.y - value: 20.764406 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalPosition.z - value: -43.37813 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: -36.672 - objectReference: {fileID: 0} - - target: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8773676356524340268, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - propertyPath: m_Name - value: FallawayFloor (4) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} ---- !u!4 &8164979977984596284 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8144920974147422729, guid: d145f0e5906f91a4fad7f384f1b2a6ec, type: 3} - m_PrefabInstance: {fileID: 20060037114057525} - m_PrefabAsset: {fileID: 0} --- !u!1001 &20060037237125549 PrefabInstance: m_ObjectHideFlags: 0 @@ -6668,11 +6092,11 @@ PrefabInstance: m_Modifications: - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_RootOrder - value: 16 + value: 9 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.x - value: -1.4718733 + value: 7.34 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.y @@ -6680,11 +6104,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.z - value: -59.29 + value: -60.04 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.w - value: 1 + value: 0.7071068 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.x @@ -6692,7 +6116,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.y - value: -0 + value: -0.70710677 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.z @@ -6704,7 +6128,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalEulerAnglesHint.y - value: 0 + value: -90 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalEulerAnglesHint.z @@ -6716,16 +6140,16 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f73d020fede261d4bac919488c8a778d, type: 3} ---- !u!4 &562383714043975238 stripped -Transform: - m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} - m_PrefabInstance: {fileID: 20060037237125549} - m_PrefabAsset: {fileID: 0} --- !u!1 &902459002925747452 stripped GameObject: m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} m_PrefabInstance: {fileID: 20060037237125549} m_PrefabAsset: {fileID: 0} +--- !u!4 &562383714043975238 stripped +Transform: + m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + m_PrefabInstance: {fileID: 20060037237125549} + m_PrefabAsset: {fileID: 0} --- !u!1001 &20060037265306496 PrefabInstance: m_ObjectHideFlags: 0 @@ -6735,7 +6159,7 @@ PrefabInstance: m_Modifications: - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_RootOrder - value: 15 + value: 8 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalScale.z @@ -6743,7 +6167,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.x - value: -1.3218727 + value: 8.428127 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.y @@ -6787,16 +6211,16 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f73d020fede261d4bac919488c8a778d, type: 3} ---- !u!1 &902459002953928401 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} - m_PrefabInstance: {fileID: 20060037265306496} - m_PrefabAsset: {fileID: 0} --- !u!4 &562383714023920747 stripped Transform: m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} m_PrefabInstance: {fileID: 20060037265306496} m_PrefabAsset: {fileID: 0} +--- !u!1 &902459002953928401 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} + m_PrefabInstance: {fileID: 20060037265306496} + m_PrefabAsset: {fileID: 0} --- !u!1001 &20060037316688686 PrefabInstance: m_ObjectHideFlags: 0 @@ -6806,19 +6230,19 @@ PrefabInstance: m_Modifications: - target: {fileID: -8679921383154817045, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} propertyPath: m_RootOrder - value: 11 + value: 4 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} propertyPath: m_LocalPosition.x - value: -37.871872 + value: -27.021873 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} propertyPath: m_LocalPosition.y - value: 20.764406 + value: 19.53 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} propertyPath: m_LocalPosition.z - value: -41.60813 + value: -49.37 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} propertyPath: m_LocalRotation.w @@ -6859,6 +6283,11 @@ Transform: m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} m_PrefabInstance: {fileID: 20060037316688686} m_PrefabAsset: {fileID: 0} +--- !u!1 &7252998261761054088 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 7268975836957126310, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} + m_PrefabInstance: {fileID: 20060037316688686} + m_PrefabAsset: {fileID: 0} --- !u!1001 &3676779558155148834 PrefabInstance: m_ObjectHideFlags: 0 @@ -6868,7 +6297,7 @@ PrefabInstance: m_Modifications: - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_RootOrder - value: 37 + value: 13 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalScale.x @@ -6876,7 +6305,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.x - value: -5.389 + value: 6.25 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.y @@ -6884,7 +6313,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.z - value: -56.25 + value: -60.04 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.w @@ -6939,7 +6368,7 @@ PrefabInstance: m_Modifications: - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_RootOrder - value: 36 + value: 12 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalScale.x @@ -6947,15 +6376,15 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.x - value: -6.89 + value: 5.18 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.y - value: 13.87 + value: 14.21 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalPosition.z - value: -56.25 + value: -60.036 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} propertyPath: m_LocalRotation.w @@ -6991,16 +6420,16 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f73d020fede261d4bac919488c8a778d, type: 3} ---- !u!1 &4579259480159249582 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} - m_PrefabInstance: {fileID: 3696793310178204159} - m_PrefabAsset: {fileID: 0} --- !u!4 &3803039817882353172 stripped Transform: m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} m_PrefabInstance: {fileID: 3696793310178204159} m_PrefabAsset: {fileID: 0} +--- !u!1 &4579259480159249582 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} + m_PrefabInstance: {fileID: 3696793310178204159} + m_PrefabAsset: {fileID: 0} --- !u!1001 &4025545819659654412 PrefabInstance: m_ObjectHideFlags: 0 @@ -7010,7 +6439,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 197761351512446430, guid: e72cb2e11c8a50248a284aabf3b87985, type: 3} propertyPath: m_RootOrder - value: 20 + value: 10 objectReference: {fileID: 0} - target: {fileID: 197761351512446430, guid: e72cb2e11c8a50248a284aabf3b87985, type: 3} propertyPath: m_LocalPosition.x @@ -7071,6 +6500,77 @@ Transform: m_CorrespondingSourceObject: {fileID: 197761351512446430, guid: e72cb2e11c8a50248a284aabf3b87985, type: 3} m_PrefabInstance: {fileID: 4025545819659654412} m_PrefabAsset: {fileID: 0} +--- !u!1001 &8182288253469653490 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 20060035715551253} + m_Modifications: + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_RootOrder + value: 14 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalScale.x + value: 298.85284 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalPosition.x + value: 4.09 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalPosition.y + value: 13.46 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalPosition.z + value: -60.036 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalRotation.w + value: 0.7071068 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalRotation.x + value: 0.0000000034924592 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalRotation.y + value: -0.70710677 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalRotation.z + value: -6.984919e-10 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -90 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} + propertyPath: m_Name + value: Stairs_A (8) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: f73d020fede261d4bac919488c8a778d, type: 3} +--- !u!1 &9028655130985481379 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f73d020fede261d4bac919488c8a778d, type: 3} + m_PrefabInstance: {fileID: 8182288253469653490} + m_PrefabAsset: {fileID: 0} +--- !u!4 &8505024453876751897 stripped +Transform: + m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: f73d020fede261d4bac919488c8a778d, type: 3} + m_PrefabInstance: {fileID: 8182288253469653490} + m_PrefabAsset: {fileID: 0} --- !u!1001 &9073637281229528438 PrefabInstance: m_ObjectHideFlags: 0 @@ -7084,7 +6584,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4449396798674854634, guid: 373acc46f7fa7eb4b9cfba9c3e17b6ca, type: 3} propertyPath: m_RootOrder - value: 26 + value: 11 objectReference: {fileID: 0} - target: {fileID: 4449396798674854634, guid: 373acc46f7fa7eb4b9cfba9c3e17b6ca, type: 3} propertyPath: m_LocalScale.x @@ -7096,15 +6596,15 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4449396798674854634, guid: 373acc46f7fa7eb4b9cfba9c3e17b6ca, type: 3} propertyPath: m_LocalPosition.x - value: -34.98 + value: -23.65 objectReference: {fileID: 0} - target: {fileID: 4449396798674854634, guid: 373acc46f7fa7eb4b9cfba9c3e17b6ca, type: 3} propertyPath: m_LocalPosition.y - value: 21.264406 + value: 20.36 objectReference: {fileID: 0} - target: {fileID: 4449396798674854634, guid: 373acc46f7fa7eb4b9cfba9c3e17b6ca, type: 3} propertyPath: m_LocalPosition.z - value: -43.47 + value: -50.91 objectReference: {fileID: 0} - target: {fileID: 4449396798674854634, guid: 373acc46f7fa7eb4b9cfba9c3e17b6ca, type: 3} propertyPath: m_LocalRotation.w diff --git a/game/Assets/Scenes/FreezeSequence/Freeze1.unity b/game/Assets/Scenes/FreezeSequence/Freeze1.unity index be4203a..9a5dbd5 100644 --- a/game/Assets/Scenes/FreezeSequence/Freeze1.unity +++ b/game/Assets/Scenes/FreezeSequence/Freeze1.unity @@ -186,22 +186,42 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: -53.25 objectReference: {fileID: 0} - - target: {fileID: 20060037679400276, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} - propertyPath: m_LocalPosition.x - value: -42.600002 + - target: {fileID: 144586784117801156, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 objectReference: {fileID: 0} - - target: {fileID: 562383713938988229, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} - propertyPath: m_LocalPosition.x - value: -45.86 + - target: {fileID: 1942448527754983935, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 objectReference: {fileID: 0} - target: {fileID: 2798628020550802209, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} propertyPath: m_LocalPosition.z value: -22.93 objectReference: {fileID: 0} + - target: {fileID: 2965657895286721982, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} + - target: {fileID: 3245217566131802716, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} - target: {fileID: 3281454039531256279, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} propertyPath: m_LocalPosition.z value: -69.71 objectReference: {fileID: 0} + - target: {fileID: 3360258782664561703, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} + - target: {fileID: 3981923049291870994, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} + - target: {fileID: 4156655533860185189, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} - target: {fileID: 4232342903992215198, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} propertyPath: m_LocalRotation.w value: 0.73425376 @@ -282,6 +302,22 @@ PrefabInstance: propertyPath: m_LocalPosition.z value: -0.918 objectReference: {fileID: 0} + - target: {fileID: 6266323790267379902, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} + - target: {fileID: 7426531598355393719, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} + - target: {fileID: 7942849190331623678, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} + - target: {fileID: 8106824084488338523, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} - target: {fileID: 8164979977984596284, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} propertyPath: m_LocalPosition.x value: -34.4 @@ -302,6 +338,14 @@ PrefabInstance: propertyPath: m_LocalPosition.x value: -52.25 objectReference: {fileID: 0} + - target: {fileID: 8651459415071025888, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} + - target: {fileID: 8819770543696869825, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} + propertyPath: fallAwayTime + value: 0.1 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} --- !u!1001 &717263452 @@ -313,43 +357,47 @@ PrefabInstance: m_Modifications: - target: {fileID: 4676633831318799747, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.w - value: 0.9983446 + value: 0.70522034 objectReference: {fileID: 0} - target: {fileID: 4676633831318799747, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.x - value: -0.000000029802322 + value: 0.17927231 objectReference: {fileID: 0} - target: {fileID: 4676633831318799747, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.y - value: -0.057483047 + value: 0.67019784 objectReference: {fileID: 0} - target: {fileID: 4676633831318799747, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.z - value: -0.0019679694 + value: -0.14615275 objectReference: {fileID: 0} - target: {fileID: 4676633831388223341, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalPosition.x - value: 1.4999695 + value: -0.03934002 + objectReference: {fileID: 0} + - target: {fileID: 4676633831388223341, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} + propertyPath: m_LocalPosition.y + value: 0.25224686 objectReference: {fileID: 0} - target: {fileID: 4676633831388223341, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalPosition.z - value: -0.72949576 + value: -2.7196157 objectReference: {fileID: 0} - target: {fileID: 4676633831388223341, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.w - value: 0.73425376 + value: 0.9719741 objectReference: {fileID: 0} - target: {fileID: 4676633831388223341, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.x - value: -0.012565184 + value: 0.22945173 objectReference: {fileID: 0} - target: {fileID: 4676633831388223341, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.y - value: -0.6786595 + value: 0.0497995 objectReference: {fileID: 0} - target: {fileID: 4676633831388223341, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.z - value: -0.011613807 + value: -0.011756055 objectReference: {fileID: 0} - target: {fileID: 4676633831414007564, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_Name @@ -399,29 +447,45 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 4676633832789495666, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4676633832789495666, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4676633832789495666, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} - target: {fileID: 4676633832789495666, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.w - value: 0.9983446 + value: 0.70522034 objectReference: {fileID: 0} - target: {fileID: 4676633832789495666, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.x - value: -0.000000029802322 + value: 0.17927231 objectReference: {fileID: 0} - target: {fileID: 4676633832789495666, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.y - value: -0.057483047 + value: 0.67019784 objectReference: {fileID: 0} - target: {fileID: 4676633832789495666, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.z - value: -0.0019679703 + value: -0.14615275 objectReference: {fileID: 0} - target: {fileID: 4676633832858914731, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalPosition.x - value: 1.4999695 + value: -0.03934002 + objectReference: {fileID: 0} + - target: {fileID: 4676633832858914731, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} + propertyPath: m_LocalPosition.y + value: 0.25224686 objectReference: {fileID: 0} - target: {fileID: 4676633832858914731, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalPosition.z - value: -0.72949576 + value: -2.7196157 objectReference: {fileID: 0} - target: {fileID: 4676633832858914731, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.w @@ -441,19 +505,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4676633832928372887, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.w - value: 1 + value: 0.6771322 objectReference: {fileID: 0} - target: {fileID: 4676633832928372887, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.x - value: -0.00000005401671 + value: 0.1721321 objectReference: {fileID: 0} - target: {fileID: 4676633832928372887, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.y - value: -0.000000059604645 + value: 0.6990174 objectReference: {fileID: 0} - target: {fileID: 4676633832928372887, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} propertyPath: m_LocalRotation.z - value: -9.313226e-10 + value: -0.15243754 objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 8a918f60d084fbe468bf3b2c0a14fb52, type: 3} @@ -476,25 +540,6 @@ MeshCollider: m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: 5640169193314376071, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} ---- !u!1 &1183116868 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 902459002871088767, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} - m_PrefabInstance: {fileID: 287275404} - m_PrefabAsset: {fileID: 0} ---- !u!64 &1183116870 -MeshCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1183116868} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 4 - m_Convex: 0 - m_CookingOptions: 30 - m_Mesh: {fileID: 0} --- !u!1 &1879987206 GameObject: m_ObjectHideFlags: 0 @@ -588,22 +633,3 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} ---- !u!1 &1929861194 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 7252998261761054088, guid: c34bb57a623bd394194f47d4b62e9c22, type: 3} - m_PrefabInstance: {fileID: 287275404} - m_PrefabAsset: {fileID: 0} ---- !u!64 &1929861198 -MeshCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1929861194} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 4 - m_Convex: 0 - m_CookingOptions: 30 - m_Mesh: {fileID: 5640169193314376071, guid: 84d1abd228b21df47af6e0f4750ab193, type: 3} diff --git a/game/Assets/Scripts/Traps/FallawayFloor.cs b/game/Assets/Scripts/Traps/FallawayFloor.cs index 931fb77..cb1a1da 100644 --- a/game/Assets/Scripts/Traps/FallawayFloor.cs +++ b/game/Assets/Scripts/Traps/FallawayFloor.cs @@ -5,19 +5,19 @@ using System.Collections.Generic; using DG.Tweening; using UnityEngine; -[RequireComponent(typeof(Rigidbody))] public class FallawayFloor : MonoBehaviour { // // Speed at which the object moves towards the ground. public float speed; + // Time it takes for ogjecct to begin moving towards the ground. public float fallAwayTime; - + [SerializeField] private TrapSettings _settings; [SerializeField] private GameObject _graphics; - - private Rigidbody rb; + private Vector3 initialPosition; + private Vector3 velocity; public bool Falling => _triggered; private bool _triggered = false; @@ -25,9 +25,6 @@ public class FallawayFloor : MonoBehaviour private void Start() { initialPosition = transform.position; - - // Get Rigidbody component. - rb = GetComponent(); } private void LateUpdate() @@ -50,6 +47,11 @@ public class FallawayFloor : MonoBehaviour } } + private void FixedUpdate() + { + transform.position += velocity * Time.fixedDeltaTime * _settings.ObjectTimeScale; + } + private void OnTriggerEnter(Collider other) { if (!_triggered && other.CompareTag("Player")) @@ -71,33 +73,41 @@ public class FallawayFloor : MonoBehaviour { // already falling if (_triggered) return; - + // time stop - if ( _settings.ObjectTimeScale.AsBool ) return; - + if (_settings.ObjectTimeScale.AsBool) return; + StartCoroutine(FallCR()); } - + private IEnumerator FallCR() { _triggered = true; - - _graphics.transform.DOShakePosition( - fallAwayTime, + + var shake = _graphics.transform.DOShakePosition( + fallAwayTime, _settings.FallawayFloor.ShakeStrength); FMODUnity.RuntimeManager.PlayOneShot(_settings.FallawayFloor.FMODEvent); - + // wait a moment yield return new WaitForSeconds(fallAwayTime); - + + float elapsed = 0f; + while (elapsed < fallAwayTime) + { + var dt = _settings.ObjectTimeScale; + elapsed += Time.deltaTime * dt; + yield return null; + } + // fall - rb.velocity = Vector3.down * speed; + velocity = Vector3.down * speed; } public void Reset() { _triggered = false; transform.position = initialPosition; - rb.velocity = Vector3.zero; + velocity = Vector3.zero; } -} +} \ No newline at end of file