From bfaacd2e2894f1164b675fd99b58a176c7b62dcc Mon Sep 17 00:00:00 2001 From: Jesus Imery Date: Tue, 21 Mar 2017 01:51:13 -0400 Subject: [PATCH] #7 Main menu options controller and canvas --- .../MainMenu/CameraOptionsTranslate 1.anim | 50 + .../MainMenu/CameraOptionsTranslate.anim | 50 + Assets/Scene/Menus/ProtoMenu.unity | 1284 +++++++++++++++-- Assets/Scripts/UI/OptionsMenuController.cs | 31 + .../Scripts/UI/OptionsMenuController.cs.meta | 12 + 5 files changed, 1345 insertions(+), 82 deletions(-) create mode 100644 Assets/Scripts/UI/OptionsMenuController.cs create mode 100644 Assets/Scripts/UI/OptionsMenuController.cs.meta diff --git a/Assets/Animations/MainMenu/CameraOptionsTranslate 1.anim b/Assets/Animations/MainMenu/CameraOptionsTranslate 1.anim index 37f55ab..7248692 100644 --- a/Assets/Animations/MainMenu/CameraOptionsTranslate 1.anim +++ b/Assets/Animations/MainMenu/CameraOptionsTranslate 1.anim @@ -94,6 +94,28 @@ AnimationClip: path: classID: 20 script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_IsActive + path: Canvas + classID: 1 + script: {fileID: 0} m_PPtrCurves: [] m_SampleRate: 90 m_WrapMode: 0 @@ -120,6 +142,12 @@ AnimationClip: classID: 20 customType: 0 isPPtrCurve: 0 + - path: 2721278254 + attribute: 2086281974 + script: {fileID: 0} + classID: 1 + customType: 0 + isPPtrCurve: 0 pptrCurveMapping: [] m_AnimationClipSettings: serializedVersion: 2 @@ -350,6 +378,28 @@ AnimationClip: path: classID: 20 script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + - serializedVersion: 2 + time: 1 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_IsActive + path: Canvas + classID: 1 + script: {fileID: 0} m_EulerEditorCurves: - curve: serializedVersion: 2 diff --git a/Assets/Animations/MainMenu/CameraOptionsTranslate.anim b/Assets/Animations/MainMenu/CameraOptionsTranslate.anim index c72cc20..cc743b9 100644 --- a/Assets/Animations/MainMenu/CameraOptionsTranslate.anim +++ b/Assets/Animations/MainMenu/CameraOptionsTranslate.anim @@ -94,6 +94,28 @@ AnimationClip: path: classID: 20 script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_IsActive + path: Canvas + classID: 1 + script: {fileID: 0} m_PPtrCurves: [] m_SampleRate: 90 m_WrapMode: 0 @@ -120,6 +142,12 @@ AnimationClip: classID: 20 customType: 0 isPPtrCurve: 0 + - path: 2721278254 + attribute: 2086281974 + script: {fileID: 0} + classID: 1 + customType: 0 + isPPtrCurve: 0 pptrCurveMapping: [] m_AnimationClipSettings: serializedVersion: 2 @@ -350,6 +378,28 @@ AnimationClip: path: classID: 20 script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: Infinity + outSlope: Infinity + tangentMode: 103 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_IsActive + path: Canvas + classID: 1 + script: {fileID: 0} m_EulerEditorCurves: - curve: serializedVersion: 2 diff --git a/Assets/Scene/Menus/ProtoMenu.unity b/Assets/Scene/Menus/ProtoMenu.unity index 1216e04..9376213 100644 --- a/Assets/Scene/Menus/ProtoMenu.unity +++ b/Assets/Scene/Menus/ProtoMenu.unity @@ -192,7 +192,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 54 + value: 55 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -238,7 +238,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4675229883298396, guid: dae6db83e557ce142a973e6967cc0cb4, type: 2} propertyPath: m_RootOrder - value: 26 + value: 27 objectReference: {fileID: 0} - target: {fileID: 4675229883298396, guid: dae6db83e557ce142a973e6967cc0cb4, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -284,7 +284,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 69 + value: 70 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -330,7 +330,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 51 + value: 52 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -376,7 +376,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4334409256001396, guid: 895c25f0aaa89024da87558436e03d25, type: 2} propertyPath: m_RootOrder - value: 9 + value: 10 objectReference: {fileID: 0} - target: {fileID: 4334409256001396, guid: 895c25f0aaa89024da87558436e03d25, type: 2} propertyPath: m_LocalEulerAnglesHint.z @@ -410,6 +410,142 @@ MonoBehaviour: - {fileID: 2800000, guid: 735753ad47399924e89c304769e254ca, type: 3} - {fileID: 2800000, guid: dbab215105cee50419118866173fd3c3, type: 3} secondsForEachImage: 0.1 +--- !u!1 &189589997 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 189589998} + - component: {fileID: 189590000} + - component: {fileID: 189589999} + m_Layer: 0 + m_Name: Checkmark + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &189589998 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 189589997} + 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: [] + m_Father: {fileID: 1919941602} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 20, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &189589999 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 189589997} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &189590000 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 189589997} +--- !u!1 &202002274 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 202002275} + - component: {fileID: 202002277} + - component: {fileID: 202002276} + m_Layer: 0 + m_Name: Fill + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &202002275 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 202002274} + 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: [] + m_Father: {fileID: 701692166} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 10, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &202002276 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 202002274} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &202002277 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 202002274} --- !u!1001 &212025553 Prefab: m_ObjectHideFlags: 0 @@ -447,7 +583,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4615494110206508, guid: ca92545b9d6cabe49b1d1268bef14f49, type: 2} propertyPath: m_RootOrder - value: 34 + value: 35 objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: ca92545b9d6cabe49b1d1268bef14f49, type: 2} @@ -489,7 +625,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 50 + value: 51 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -606,7 +742,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 61 + value: 62 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -652,7 +788,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 53 + value: 54 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -766,11 +902,45 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4606079062598302, guid: 37dbd649cb0978a49a2c5f3454877f20, type: 2} propertyPath: m_RootOrder - value: 17 + value: 18 objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 37dbd649cb0978a49a2c5f3454877f20, type: 2} m_IsPrefabParent: 0 +--- !u!1 &280359607 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 280359608} + m_Layer: 0 + m_Name: Handle Slide Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &280359608 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 280359607} + 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: 496886152} + m_Father: {fileID: 1689175531} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &299788307 GameObject: m_ObjectHideFlags: 0 @@ -858,7 +1028,7 @@ RectTransform: - {fileID: 278843804} - {fileID: 1543151181} m_Father: {fileID: 0} - m_RootOrder: 77 + m_RootOrder: 78 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} @@ -1072,7 +1242,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 66 + value: 67 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -1118,7 +1288,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 55 + value: 56 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -1164,7 +1334,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 58 + value: 59 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -1210,7 +1380,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 400000, guid: c6faa68d3d2e22149b5e1342b74dc4cd, type: 3} propertyPath: m_RootOrder - value: 19 + value: 20 objectReference: {fileID: 0} - target: {fileID: 2300000, guid: c6faa68d3d2e22149b5e1342b74dc4cd, type: 3} propertyPath: m_Materials.Array.data[0] @@ -1256,7 +1426,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4076531704994904, guid: b856d93a208de5d4c9e8a8294ecae761, type: 2} propertyPath: m_RootOrder - value: 29 + value: 30 objectReference: {fileID: 0} - target: {fileID: 4076531704994904, guid: b856d93a208de5d4c9e8a8294ecae761, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -1312,7 +1482,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4979420327678592, guid: 0fb76b8cbc546994482c3aea33176a04, type: 2} propertyPath: m_RootOrder - value: 28 + value: 29 objectReference: {fileID: 0} - target: {fileID: 4979420327678592, guid: 0fb76b8cbc546994482c3aea33176a04, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -1338,6 +1508,74 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 0.34624106, y: 1.3562089, z: 0.238886} m_Center: {x: 0.0027524962, y: 0.02268049, z: 0} +--- !u!1 &496886151 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 496886152} + - component: {fileID: 496886154} + - component: {fileID: 496886153} + m_Layer: 0 + m_Name: Handle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &496886152 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 496886151} + 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: [] + m_Father: {fileID: 280359608} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &496886153 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 496886151} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &496886154 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 496886151} --- !u!1001 &497496158 Prefab: m_ObjectHideFlags: 0 @@ -1375,7 +1613,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 63 + value: 64 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -1421,7 +1659,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 47 + value: 48 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -1467,7 +1705,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 400000, guid: 8975d2cc39e5f6e458d16816444d6e6c, type: 3} propertyPath: m_RootOrder - value: 21 + value: 22 objectReference: {fileID: 0} - target: {fileID: 400000, guid: 8975d2cc39e5f6e458d16816444d6e6c, type: 3} propertyPath: m_LocalScale.x @@ -1504,6 +1742,40 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 8975d2cc39e5f6e458d16816444d6e6c, type: 3} m_IsPrefabParent: 0 +--- !u!1 &533603483 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 533603484} + m_Layer: 0 + m_Name: Handle Slide Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &533603484 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 533603483} + 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: 1668432897} + m_Father: {fileID: 676328437} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} --- !u!1001 &569908075 Prefab: m_ObjectHideFlags: 0 @@ -1541,7 +1813,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 400006, guid: e683b9d61d3b72741bdebd174344ea0b, type: 3} propertyPath: m_RootOrder - value: 22 + value: 23 objectReference: {fileID: 0} - target: {fileID: 400006, guid: e683b9d61d3b72741bdebd174344ea0b, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -1619,7 +1891,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4785080052870306, guid: f3eb785f62c40bb438b511fd23035a99, type: 2} propertyPath: m_RootOrder - value: 11 + value: 12 objectReference: {fileID: 0} - target: {fileID: 1457092342354220, guid: f3eb785f62c40bb438b511fd23035a99, type: 2} propertyPath: m_Name @@ -1673,7 +1945,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 68 + value: 69 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -1719,7 +1991,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4995862342962840, guid: ea0b6d1cf2f17f34195279baf053666b, type: 2} propertyPath: m_RootOrder - value: 18 + value: 19 objectReference: {fileID: 0} - target: {fileID: 4995862342962840, guid: ea0b6d1cf2f17f34195279baf053666b, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -1744,6 +2016,112 @@ AudioListener: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 627478263} m_Enabled: 1 +--- !u!1 &671433061 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 671433062} + - component: {fileID: 671433063} + - component: {fileID: 671433064} + m_Layer: 0 + m_Name: Toggle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &671433062 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 671433061} + 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: 1919941602} + m_Father: {fileID: 981591875} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 191, y: 153} + m_SizeDelta: {x: 160, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &671433063 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 671433061} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 2109663825, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1919941603} + toggleTransition: 1 + graphic: {fileID: 189589999} + m_Group: {fileID: 0} + onValueChanged: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 671433063} + m_MethodName: + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_TypeName: UnityEngine.UI.Toggle+ToggleEvent, UnityEngine.UI, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null + m_IsOn: 0 +--- !u!114 &671433064 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 671433061} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ea8dfc02e54ca448b56f8893b28a328, type: 3} + m_Name: + m_EditorClassIdentifier: + sensitivityX: {fileID: 1689175532} + sensitivityY: {fileID: 676328439} + invertYAxis: {fileID: 671433063} --- !u!1001 &675641425 Prefab: m_ObjectHideFlags: 0 @@ -1781,7 +2159,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4259896688058268, guid: c58b9956329ccb5488d8e5233f4ea3eb, type: 2} propertyPath: m_RootOrder - value: 6 + value: 7 objectReference: {fileID: 0} - target: {fileID: 1329824764168612, guid: c58b9956329ccb5488d8e5233f4ea3eb, type: 2} propertyPath: m_Name @@ -1798,6 +2176,185 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: c58b9956329ccb5488d8e5233f4ea3eb, type: 2} m_IsPrefabParent: 0 +--- !u!1 &676158388 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 676158389} + - component: {fileID: 676158391} + - component: {fileID: 676158390} + m_Layer: 0 + m_Name: Fill + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &676158389 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 676158388} + 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: [] + m_Father: {fileID: 929623524} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 10, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &676158390 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 676158388} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &676158391 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 676158388} +--- !u!1 &676328436 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 676328437} + - component: {fileID: 676328439} + - component: {fileID: 676328438} + m_Layer: 0 + m_Name: Slider Y + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &676328437 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 676328436} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -0} + m_LocalScale: {x: 1.1989886, y: 1, z: 1.0000001} + m_Children: + - {fileID: 1187773771} + - {fileID: 929623524} + - {fileID: 533603484} + m_Father: {fileID: 981591875} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 120, y: 102.3} + m_SizeDelta: {x: 160, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &676328438 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 676328436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ea8dfc02e54ca448b56f8893b28a328, type: 3} + m_Name: + m_EditorClassIdentifier: + sensitivityX: {fileID: 1689175532} + sensitivityY: {fileID: 676328439} + invertYAxis: {fileID: 0} +--- !u!114 &676328439 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 676328436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -113659843, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1668432898} + m_FillRect: {fileID: 676158389} + m_HandleRect: {fileID: 1668432897} + m_Direction: 0 + m_MinValue: 0 + m_MaxValue: 1 + m_WholeNumbers: 0 + m_Value: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 676328438} + m_MethodName: UpdateSensitivityY + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_TypeName: UnityEngine.UI.Slider+SliderEvent, UnityEngine.UI, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null --- !u!1 &687134688 stripped GameObject: m_PrefabParentObject: {fileID: 100004, guid: e683b9d61d3b72741bdebd174344ea0b, type: 3} @@ -1889,6 +2446,40 @@ MeshFilter: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 700321767} m_Mesh: {fileID: 4300004, guid: 70f87c47067ff1b4c8a9296b1481003a, type: 3} +--- !u!1 &701692165 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 701692166} + m_Layer: 0 + m_Name: Fill Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &701692166 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 701692165} + 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: 202002275} + m_Father: {fileID: 1689175531} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.25} + m_AnchorMax: {x: 1, y: 0.75} + m_AnchoredPosition: {x: -5, y: 0} + m_SizeDelta: {x: -20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} --- !u!1001 &791668180 Prefab: m_ObjectHideFlags: 0 @@ -2009,7 +2600,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 56 + value: 57 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2055,7 +2646,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 44 + value: 45 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2101,7 +2692,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 59 + value: 60 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2147,7 +2738,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4122015323634938, guid: 95bcdb9eab0844a4c9a24cd05ec5f3dc, type: 2} propertyPath: m_RootOrder - value: 13 + value: 14 objectReference: {fileID: 0} - target: {fileID: 1339971291277578, guid: 95bcdb9eab0844a4c9a24cd05ec5f3dc, type: 2} propertyPath: m_Name @@ -2205,7 +2796,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4615494110206508, guid: ca92545b9d6cabe49b1d1268bef14f49, type: 2} propertyPath: m_RootOrder - value: 33 + value: 34 objectReference: {fileID: 0} - target: {fileID: 1295573911602870, guid: ca92545b9d6cabe49b1d1268bef14f49, type: 2} propertyPath: m_Name @@ -2280,7 +2871,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 40 + value: 41 objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} @@ -2322,7 +2913,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 70 + value: 71 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2368,7 +2959,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4105100541341106, guid: b80676434e1f4124c8db195dfc855b77, type: 2} propertyPath: m_RootOrder - value: 5 + value: 6 objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: b80676434e1f4124c8db195dfc855b77, type: 2} @@ -2410,7 +3001,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 49 + value: 50 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2419,6 +3010,40 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} m_IsPrefabParent: 0 +--- !u!1 &929623523 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 929623524} + m_Layer: 0 + m_Name: Fill Area + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &929623524 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 929623523} + 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: 676158389} + m_Father: {fileID: 676328437} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.25} + m_AnchorMax: {x: 1, y: 0.75} + m_AnchoredPosition: {x: -5, y: 0} + m_SizeDelta: {x: -20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} --- !u!1001 &930538040 Prefab: m_ObjectHideFlags: 0 @@ -2456,7 +3081,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 65 + value: 66 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2502,7 +3127,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 41 + value: 42 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2511,6 +3136,116 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} m_IsPrefabParent: 0 +--- !u!1 &981591874 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 981591875} + - component: {fileID: 981591878} + - component: {fileID: 981591877} + - component: {fileID: 981591876} + - component: {fileID: 981591880} + m_Layer: 0 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!224 &981591875 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 981591874} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 1689175531} + - {fileID: 676328437} + - {fileID: 671433062} + m_Father: {fileID: 1868272447} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!114 &981591876 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 981591874} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &981591877 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 981591874} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &981591878 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 981591874} + m_Enabled: 1 + serializedVersion: 2 + m_RenderMode: 0 + m_Camera: {fileID: 1868272446} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_SortingLayerID: -2139112747 + m_SortingOrder: 10 + m_TargetDisplay: 0 +--- !u!114 &981591880 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 981591874} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 1689175530} + m_sendNavigationEvents: 1 + m_DragThreshold: 5 --- !u!1001 &987561114 Prefab: m_ObjectHideFlags: 0 @@ -2548,7 +3283,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 67 + value: 68 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2640,7 +3375,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 73 + value: 74 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2686,7 +3421,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 45 + value: 46 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -2737,7 +3472,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4999056477314686, guid: f8d847b6daa0f2d4e88d433df48545d8, type: 2} propertyPath: m_RootOrder - value: 38 + value: 39 objectReference: {fileID: 0} - target: {fileID: 4999056477314686, guid: f8d847b6daa0f2d4e88d433df48545d8, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -3784,7 +4519,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 64 + value: 65 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -3917,7 +4652,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4785080052870306, guid: f3eb785f62c40bb438b511fd23035a99, type: 2} propertyPath: m_RootOrder - value: 32 + value: 33 objectReference: {fileID: 0} - target: {fileID: 4785080052870306, guid: f3eb785f62c40bb438b511fd23035a99, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -4011,7 +4746,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 25 + m_RootOrder: 26 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1152400478 Prefab: @@ -4050,7 +4785,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4917770638335284, guid: c75225551db780047889d3abce05d59c, type: 2} propertyPath: m_RootOrder - value: 24 + value: 25 objectReference: {fileID: 0} - target: {fileID: 1458860072177450, guid: c75225551db780047889d3abce05d59c, type: 2} propertyPath: m_Name @@ -4237,7 +4972,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4917770638335284, guid: c75225551db780047889d3abce05d59c, type: 2} propertyPath: m_RootOrder - value: 76 + value: 77 objectReference: {fileID: 0} - target: {fileID: 1458860072177450, guid: c75225551db780047889d3abce05d59c, type: 2} propertyPath: m_Name @@ -4250,6 +4985,74 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: c75225551db780047889d3abce05d59c, type: 2} m_IsPrefabParent: 0 +--- !u!1 &1187773770 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1187773771} + - component: {fileID: 1187773773} + - component: {fileID: 1187773772} + m_Layer: 0 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1187773771 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1187773770} + 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: [] + m_Father: {fileID: 676328437} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.25} + m_AnchorMax: {x: 1, y: 0.75} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1187773772 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1187773770} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1187773773 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1187773770} --- !u!1 &1199738585 GameObject: m_ObjectHideFlags: 0 @@ -4298,7 +5101,7 @@ Transform: - {fileID: 2056888876} - {fileID: 235720576} m_Father: {fileID: 0} - m_RootOrder: 42 + m_RootOrder: 43 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1228321494 stripped GameObject: @@ -4358,7 +5161,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4979420327678592, guid: 0fb76b8cbc546994482c3aea33176a04, type: 2} propertyPath: m_RootOrder - value: 27 + value: 28 objectReference: {fileID: 0} - target: {fileID: 1334569699010052, guid: 0fb76b8cbc546994482c3aea33176a04, type: 2} propertyPath: m_Name @@ -4408,7 +5211,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4554348628675670, guid: e3cee22271c2bb14a999cbbe91b6f885, type: 2} propertyPath: m_RootOrder - value: 20 + value: 21 objectReference: {fileID: 0} - target: {fileID: 4234756940344572, guid: e3cee22271c2bb14a999cbbe91b6f885, type: 2} propertyPath: m_LocalPosition.y @@ -4594,7 +5397,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4259896688058268, guid: c58b9956329ccb5488d8e5233f4ea3eb, type: 2} propertyPath: m_RootOrder - value: 7 + value: 8 objectReference: {fileID: 0} - target: {fileID: 1329824764168612, guid: c58b9956329ccb5488d8e5233f4ea3eb, type: 2} propertyPath: m_Name @@ -4640,7 +5443,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4350706865148438, guid: 4b1113e91e8e2d84a85fd41899883ddb, type: 2} propertyPath: m_RootOrder - value: 4 + value: 5 objectReference: {fileID: 0} - target: {fileID: 4350706865148438, guid: 4b1113e91e8e2d84a85fd41899883ddb, type: 2} propertyPath: m_LocalEulerAnglesHint.x @@ -4690,7 +5493,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4490159821737372, guid: ea7235ccd82fc93409af9509d7e08432, type: 2} propertyPath: m_RootOrder - value: 16 + value: 17 objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: ea7235ccd82fc93409af9509d7e08432, type: 2} @@ -4786,7 +5589,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4161446738705292, guid: 77018b283cd25bf48a70c05cb7a1a88c, type: 2} propertyPath: m_RootOrder - value: 39 + value: 40 objectReference: {fileID: 0} - target: {fileID: 4161446738705292, guid: 77018b283cd25bf48a70c05cb7a1a88c, type: 2} propertyPath: m_LocalScale.x @@ -4863,7 +5666,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4413562974977820, guid: 79958b1c2551f664d9e11fe2164decf4, type: 2} propertyPath: m_RootOrder - value: 31 + value: 32 objectReference: {fileID: 0} - target: {fileID: 4413562974977820, guid: 79958b1c2551f664d9e11fe2164decf4, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -4909,7 +5712,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4591509598990090, guid: d631c898d69b71c43ae80f797c7814dd, type: 2} propertyPath: m_RootOrder - value: 12 + value: 13 objectReference: {fileID: 0} - target: {fileID: 1180335138726826, guid: d631c898d69b71c43ae80f797c7814dd, type: 2} propertyPath: m_Name @@ -4955,7 +5758,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 71 + value: 72 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -4968,6 +5771,74 @@ Prefab: GameObject: m_PrefabParentObject: {fileID: 100010, guid: d8c5bb9b3405446408ae245dfe38e07a, type: 3} m_PrefabInternal: {fileID: 1796458171} +--- !u!1 &1538368609 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1538368610} + - component: {fileID: 1538368612} + - component: {fileID: 1538368611} + m_Layer: 0 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1538368610 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1538368609} + 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: [] + m_Father: {fileID: 1689175531} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.25} + m_AnchorMax: {x: 1, y: 0.75} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1538368611 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1538368609} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1538368612 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1538368609} --- !u!1 &1543151180 GameObject: m_ObjectHideFlags: 0 @@ -5091,7 +5962,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4161446738705292, guid: 77018b283cd25bf48a70c05cb7a1a88c, type: 2} propertyPath: m_RootOrder - value: 72 + value: 73 objectReference: {fileID: 0} - target: {fileID: 4161446738705292, guid: 77018b283cd25bf48a70c05cb7a1a88c, type: 2} propertyPath: m_LocalScale.x @@ -5168,7 +6039,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4615494110206508, guid: ca92545b9d6cabe49b1d1268bef14f49, type: 2} propertyPath: m_RootOrder - value: 30 + value: 31 objectReference: {fileID: 0} - target: {fileID: 1295573911602870, guid: ca92545b9d6cabe49b1d1268bef14f49, type: 2} propertyPath: m_Name @@ -5222,7 +6093,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4036275878394486, guid: eb5771b2cd586804a935bd7d1c603c3c, type: 2} propertyPath: m_RootOrder - value: 36 + value: 37 objectReference: {fileID: 0} - target: {fileID: 4036275878394486, guid: eb5771b2cd586804a935bd7d1c603c3c, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -5268,7 +6139,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4259896688058268, guid: c58b9956329ccb5488d8e5233f4ea3eb, type: 2} propertyPath: m_RootOrder - value: 8 + value: 9 objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: c58b9956329ccb5488d8e5233f4ea3eb, type: 2} @@ -5310,7 +6181,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 60 + value: 61 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -5356,7 +6227,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 400000, guid: b34d90ed72fc29b4a870ae8615ee8a44, type: 3} propertyPath: m_RootOrder - value: 75 + value: 76 objectReference: {fileID: 0} - target: {fileID: 400000, guid: b34d90ed72fc29b4a870ae8615ee8a44, type: 3} propertyPath: m_LocalScale.x @@ -5450,7 +6321,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 57 + value: 58 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -5496,7 +6367,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 62 + value: 63 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -5505,6 +6376,185 @@ Prefab: m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} m_IsPrefabParent: 0 +--- !u!1 &1668432896 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1668432897} + - component: {fileID: 1668432899} + - component: {fileID: 1668432898} + m_Layer: 0 + m_Name: Handle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1668432897 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1668432896} + 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: [] + m_Father: {fileID: 533603484} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1668432898 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1668432896} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1668432899 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1668432896} +--- !u!1 &1689175530 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1689175531} + - component: {fileID: 1689175532} + - component: {fileID: 1689175533} + m_Layer: 0 + m_Name: Slider X + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1689175531 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1689175530} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1.1989862, y: 1, z: 1} + m_Children: + - {fileID: 1538368610} + - {fileID: 701692166} + - {fileID: 280359608} + m_Father: {fileID: 981591875} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 120, y: 56} + m_SizeDelta: {x: 160, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1689175532 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1689175530} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -113659843, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 496886153} + m_FillRect: {fileID: 202002275} + m_HandleRect: {fileID: 496886152} + m_Direction: 0 + m_MinValue: 0 + m_MaxValue: 1 + m_WholeNumbers: 0 + m_Value: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1689175533} + m_MethodName: UpdateSensitivityX + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + m_TypeName: UnityEngine.UI.Slider+SliderEvent, UnityEngine.UI, Version=1.0.0.0, + Culture=neutral, PublicKeyToken=null +--- !u!114 &1689175533 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1689175530} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3ea8dfc02e54ca448b56f8893b28a328, type: 3} + m_Name: + m_EditorClassIdentifier: + sensitivityX: {fileID: 1689175532} + sensitivityY: {fileID: 676328439} + invertYAxis: {fileID: 0} --- !u!1001 &1731034283 Prefab: m_ObjectHideFlags: 0 @@ -5542,7 +6592,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 48 + value: 49 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -5588,7 +6638,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4073809566945882, guid: 4dce1a96dcf35d343ba31fb97dc7ed6c, type: 2} propertyPath: m_RootOrder - value: 10 + value: 11 objectReference: {fileID: 0} - target: {fileID: 108907632951814076, guid: 4dce1a96dcf35d343ba31fb97dc7ed6c, type: 2} @@ -5628,7 +6678,7 @@ MonoBehaviour: m_EditorClassIdentifier: m_HorizontalAxis: Horizontal m_VerticalAxis: Vertical - m_SubmitButton: Submit + m_SubmitButton: Confirm m_CancelButton: Cancel m_InputActionsPerSecond: 10 m_RepeatDelay: 0.5 @@ -5644,7 +6694,7 @@ MonoBehaviour: m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Name: m_EditorClassIdentifier: - m_FirstSelected: {fileID: 0} + m_FirstSelected: {fileID: 671433061} m_sendNavigationEvents: 1 m_DragThreshold: 5 --- !u!4 &1768267330 @@ -5658,7 +6708,7 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 78 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1775331779 Prefab: @@ -5697,7 +6747,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4350706865148438, guid: 4b1113e91e8e2d84a85fd41899883ddb, type: 2} propertyPath: m_RootOrder - value: 3 + value: 4 objectReference: {fileID: 0} - target: {fileID: 1647070497065310, guid: 4b1113e91e8e2d84a85fd41899883ddb, type: 2} propertyPath: m_Name @@ -5763,7 +6813,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4174632255905990, guid: c11e0bfe755a24e4fbfe905b5082acf2, type: 2} propertyPath: m_RootOrder - value: 37 + value: 38 objectReference: {fileID: 0} - target: {fileID: 4174632255905990, guid: c11e0bfe755a24e4fbfe905b5082acf2, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -5817,7 +6867,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 400000, guid: d8c5bb9b3405446408ae245dfe38e07a, type: 3} propertyPath: m_RootOrder - value: 2 + value: 3 objectReference: {fileID: 0} - target: {fileID: 400000, guid: d8c5bb9b3405446408ae245dfe38e07a, type: 3} propertyPath: m_LocalScale.x @@ -5919,7 +6969,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 43 + value: 44 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -5965,7 +7015,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 400000, guid: 3bcf2da9232967444842b713ca39992d, type: 3} propertyPath: m_RootOrder - value: 1 + value: 2 objectReference: {fileID: 0} - target: {fileID: 400000, guid: 3bcf2da9232967444842b713ca39992d, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -6055,7 +7105,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4122015323634938, guid: 95bcdb9eab0844a4c9a24cd05ec5f3dc, type: 2} propertyPath: m_RootOrder - value: 35 + value: 36 objectReference: {fileID: 0} - target: {fileID: 4122015323634938, guid: 95bcdb9eab0844a4c9a24cd05ec5f3dc, type: 2} propertyPath: m_LocalEulerAnglesHint.y @@ -6162,9 +7212,10 @@ Transform: m_LocalRotation: {x: 0, y: 0.84080285, z: 0, w: 0.5413415} m_LocalPosition: {x: -1, y: 2.2, z: 6.91} m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] + m_Children: + - {fileID: 981591875} m_Father: {fileID: 0} - m_RootOrder: 0 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 114.45, z: 0} --- !u!82 &1868272448 AudioSource: @@ -6396,7 +7447,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 400010, guid: 5e49b5776f9d1e8449cc528b5d21c53b, type: 3} propertyPath: m_RootOrder - value: 23 + value: 24 objectReference: {fileID: 0} - target: {fileID: 2300006, guid: 5e49b5776f9d1e8449cc528b5d21c53b, type: 3} propertyPath: m_Materials.Array.data[0] @@ -6506,8 +7557,77 @@ Transform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 74 + m_RootOrder: 75 m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!1 &1919941601 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1919941602} + - component: {fileID: 1919941604} + - component: {fileID: 1919941603} + m_Layer: 0 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1919941602 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1919941601} + 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: 189589998} + m_Father: {fileID: 671433062} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 10, y: -10} + m_SizeDelta: {x: 20, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1919941603 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1919941601} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 +--- !u!222 &1919941604 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1919941601} --- !u!1001 &2053451512 Prefab: m_ObjectHideFlags: 0 @@ -6545,7 +7665,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 46 + value: 47 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name @@ -6591,7 +7711,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4122015323634938, guid: 95bcdb9eab0844a4c9a24cd05ec5f3dc, type: 2} propertyPath: m_RootOrder - value: 14 + value: 15 objectReference: {fileID: 0} - target: {fileID: 1339971291277578, guid: 95bcdb9eab0844a4c9a24cd05ec5f3dc, type: 2} propertyPath: m_Name @@ -6740,7 +7860,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 400000, guid: b34d90ed72fc29b4a870ae8615ee8a44, type: 3} propertyPath: m_RootOrder - value: 15 + value: 16 objectReference: {fileID: 0} - target: {fileID: 400000, guid: b34d90ed72fc29b4a870ae8615ee8a44, type: 3} propertyPath: m_LocalScale.x @@ -6835,7 +7955,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4054111833410762, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_RootOrder - value: 52 + value: 53 objectReference: {fileID: 0} - target: {fileID: 1628166791233726, guid: 797b810c2cc17824092b6fa4cf1d7050, type: 2} propertyPath: m_Name diff --git a/Assets/Scripts/UI/OptionsMenuController.cs b/Assets/Scripts/UI/OptionsMenuController.cs new file mode 100644 index 0000000..3a099ca --- /dev/null +++ b/Assets/Scripts/UI/OptionsMenuController.cs @@ -0,0 +1,31 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class OptionsMenuController : MonoBehaviour { + + public Slider sensitivityX; + public Slider sensitivityY; + public Toggle invertYAxis; + + //private void Update() + //{ + // Debug.Log(PlayerPrefs.GetFloat("SensitivityX")); + //} + + public void UpdateSensitivityX() + { + PlayerPrefs.SetFloat("SensitivityX", sensitivityX.value); + } + + public void UpdateSensitivityY() + { + PlayerPrefs.SetFloat("SensitivityY", sensitivityX.value); + } + + public void UpdateInveryYAxis() + { + PlayerPrefs.SetInt("InvertY", invertYAxis.isOn ? 1 : -1); + } +} diff --git a/Assets/Scripts/UI/OptionsMenuController.cs.meta b/Assets/Scripts/UI/OptionsMenuController.cs.meta new file mode 100644 index 0000000..5234992 --- /dev/null +++ b/Assets/Scripts/UI/OptionsMenuController.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 3ea8dfc02e54ca448b56f8893b28a328 +timeCreated: 1490073726 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: