From 4432a4abe56b6eb832ac4aa7baf8ce02a613c05b Mon Sep 17 00:00:00 2001 From: "r.nikolin" Date: Tue, 31 Oct 2023 15:05:14 +0300 Subject: [PATCH] Fix 3rd camera preview rotation --- .../Prefabs/Big/Monument_Origin.prefab | 71 ++++++++++++++----- 1 file changed, 52 insertions(+), 19 deletions(-) diff --git a/Assets/_Monuments/Prefabs/Big/Monument_Origin.prefab b/Assets/_Monuments/Prefabs/Big/Monument_Origin.prefab index 25caa52e..45119832 100644 --- a/Assets/_Monuments/Prefabs/Big/Monument_Origin.prefab +++ b/Assets/_Monuments/Prefabs/Big/Monument_Origin.prefab @@ -41,7 +41,6 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 1047042480005813509} - - component: {fileID: 8377035344984117770} - component: {fileID: 4423820430870592111} m_Layer: 0 m_Name: ThirdCameraOrigin @@ -62,23 +61,10 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 7128419452944829996} + - {fileID: 6764453355975274212} m_Father: {fileID: 2718859616202618344} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &8377035344984117770 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2709419054392167652} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: e4be06f767b2c3441b42fac2b14762e1, type: 3} - m_Name: - m_EditorClassIdentifier: - _vector: {x: 0, y: 0.16, z: 0} --- !u!114 &4423820430870592111 MonoBehaviour: m_ObjectHideFlags: 0 @@ -91,7 +77,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: aa81bf86d9e6976459821f77be724766, type: 3} m_Name: m_EditorClassIdentifier: - _target: {fileID: 3603039350653976120} + _target: {fileID: 4587320561891552045} DisableState: 1 --- !u!1 &2718859614899129771 GameObject: @@ -272,6 +258,7 @@ MonoBehaviour: Zone: 0 PlayOnAwake: 0 Loop: 0 + MuteVolume: 0 SoundPlayer: {fileID: 8851741688417011874, guid: d8aaa15f51dd55a4fb0b37cecdd79846, type: 3} PlayOnlyOnce: 0 @@ -294,7 +281,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &7128419452944829996 Transform: m_ObjectHideFlags: 0 @@ -303,11 +290,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 3603039350653976120} m_LocalRotation: {x: -0, y: 1, z: -0, w: 0} - m_LocalPosition: {x: 0, y: 711.8, z: 1759} + m_LocalPosition: {x: 0, y: 711.7999, z: 1759} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 1047042480005813509} + m_Father: {fileID: 6764453355975274212} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} --- !u!20 &4646941646174813383 @@ -491,6 +478,52 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: ID: 1 +--- !u!1 &4587320561891552045 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6764453355975274212} + - component: {fileID: 2466485092146797878} + m_Layer: 0 + m_Name: Rotor + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &6764453355975274212 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4587320561891552045} + 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_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 7128419452944829996} + m_Father: {fileID: 1047042480005813509} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &2466485092146797878 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4587320561891552045} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e4be06f767b2c3441b42fac2b14762e1, type: 3} + m_Name: + m_EditorClassIdentifier: + _vector: {x: 0, y: 0.16, z: 0} --- !u!1 &9014324613662600091 GameObject: m_ObjectHideFlags: 0