diff --git a/Assets/Prefabs/Gamestate/MatchManager.prefab b/Assets/Prefabs/Gamestate/MatchManager.prefab index 79bb45b73..e53f701eb 100644 --- a/Assets/Prefabs/Gamestate/MatchManager.prefab +++ b/Assets/Prefabs/Gamestate/MatchManager.prefab @@ -49,6 +49,7 @@ MonoBehaviour: m_EditorClassIdentifier: roundLength: 180 roundEndDelay: 5 + biddingEndDelay: 10 matchEndDelay: 5 startAmount: 5 rewardWin: 1 @@ -85,13 +86,14 @@ MonoBehaviour: m_EditorClassIdentifier: playerPrefab: {fileID: 71015680234268067, guid: 2872a05bf8e94d541a70726bb35085f3, type: 3} spawnPoints: [] + playerSelectItemPrefab: {fileID: 6596575034333967962, guid: 6f9988a3327983940a8001c11c3fe0e7, type: 3} globalHUDController: {fileID: 1760732758} --- !u!1001 &3272573476935254913 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - serializedVersion: 2 + serializedVersion: 3 m_TransformParent: {fileID: 7583196319734858555} m_Modifications: - target: {fileID: 1381118347005466384, guid: d21a0a379f6981f4496cadc44b0a33b9, type: 3} @@ -231,7 +233,9 @@ PrefabInstance: value: 0 objectReference: {fileID: 0} m_RemovedComponents: [] + m_RemovedGameObjects: [] m_AddedGameObjects: [] + m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: d21a0a379f6981f4496cadc44b0a33b9, type: 3} --- !u!224 &1760732757 stripped RectTransform: diff --git a/Assets/Prefabs/Input/ItemSelectPlayer.prefab b/Assets/Prefabs/Input/ItemSelectPlayer.prefab new file mode 100644 index 000000000..093380836 --- /dev/null +++ b/Assets/Prefabs/Input/ItemSelectPlayer.prefab @@ -0,0 +1,2391 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &149698361551723412 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3554179976705927318} + - component: {fileID: 4610978060122796877} + - component: {fileID: 4222000554002073790} + m_Layer: 5 + m_Name: Extension + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3554179976705927318 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 149698361551723412} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 2, y: 2, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5027557325281688046} + 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: 0, y: 0} + m_SizeDelta: {x: 150, y: 150} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4610978060122796877 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 149698361551723412} + m_CullTransparentMesh: 1 +--- !u!114 &4222000554002073790 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 149698361551723412} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.22745098, g: 0.21176471, b: 0.18431373, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + 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 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &334629214051292069 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5951770799153895023} + - component: {fileID: 3324052059593832998} + m_Layer: 5 + m_Name: UpArrow + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5951770799153895023 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 334629214051292069} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 500, y: 500, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5027557325281688046} + 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: 0, y: 175} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!212 &3324052059593832998 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 334629214051292069} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: f224bfd122877a34aa49c63693fc317b, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 1 + m_DrawMode: 0 + m_Size: {x: 0.11, y: 0.11} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &918574263646967113 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 974482366914993075} + - component: {fileID: 4675377582014236267} + - component: {fileID: 254186543247788688} + - component: {fileID: 5683759228773679774} + m_Layer: 5 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &974482366914993075 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 918574263646967113} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 3.33, y: 3.33, z: 3.33} + m_ConstrainProportionsScale: 1 + m_Children: + - {fileID: 3674956699687347171} + - {fileID: 4022023894807504867} + - {fileID: 5027557325281688046} + - {fileID: 8693532203781817968} + m_Father: {fileID: 1938151450599313512} + 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: 0, y: 0} + m_SizeDelta: {x: 1920, y: 1080} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4675377582014236267 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 918574263646967113} + m_CullTransparentMesh: 1 +--- !u!114 &254186543247788688 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 918574263646967113} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.4339623, g: 0.32372707, b: 0.24836832, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &5683759228773679774 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 918574263646967113} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 4 + m_Spacing: -1374.98 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 1 + m_ChildControlWidth: 0 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 +--- !u!1 &1061209798665039699 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2222393851923425568} + - component: {fileID: 2443209265662630904} + m_Layer: 5 + m_Name: DownArrow + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2222393851923425568 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1061209798665039699} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 500, y: 500, z: 0} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4022023894807504867} + 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: 0, y: -175} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!212 &2443209265662630904 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1061209798665039699} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: f224bfd122877a34aa49c63693fc317b, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.2, y: 0.2} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &1107747881244277036 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4415618342450672434} + - component: {fileID: 6747526836565727740} + m_Layer: 5 + m_Name: UpArrow + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4415618342450672434 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1107747881244277036} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 500, y: 500, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 3674956699687347171} + 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: 0, y: 175} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!212 &6747526836565727740 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1107747881244277036} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: f224bfd122877a34aa49c63693fc317b, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 1 + m_DrawMode: 0 + m_Size: {x: 0.11, y: 0.11} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &1774344270387469849 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3467480324082098118} + m_Layer: 0 + m_Name: CameraPosition + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3467480324082098118 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1774344270387469849} + 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: [] + m_Father: {fileID: 6154156806219520954} + m_RootOrder: -1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2107993084595849544 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1835420195716879589} + - component: {fileID: 2186647488422746180} + - component: {fileID: 8075959133707509648} + m_Layer: 5 + m_Name: Body + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1835420195716879589 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2107993084595849544} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 2, y: 2, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 3674956699687347171} + 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: 0, y: 0} + m_SizeDelta: {x: 150, y: 150} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2186647488422746180 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2107993084595849544} + m_CullTransparentMesh: 1 +--- !u!114 &8075959133707509648 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2107993084595849544} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.22745098, g: 0.21176471, b: 0.18431373, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + 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 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &2921306813800292701 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8894830759317476662} + - component: {fileID: 2209035907454807221} + - component: {fileID: 7136392609146274410} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8894830759317476662 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2921306813800292701} + 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: [] + m_Father: {fileID: 6154156806219520954} + m_RootOrder: -1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &2209035907454807221 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2921306813800292701} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 4100832615712485931} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!114 &7136392609146274410 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2921306813800292701} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SendPointerHoverToParent: 1 + m_MoveRepeatDelay: 0.5 + m_MoveRepeatRate: 0.1 + m_XRTrackingOrigin: {fileID: 0} + m_ActionsAsset: {fileID: -944628639613478452, guid: 243a37e9744e079e7a1be1b16e3abd19, type: 3} + m_PointAction: {fileID: 0} + m_MoveAction: {fileID: 3556201639114768378, guid: 243a37e9744e079e7a1be1b16e3abd19, type: 3} + m_SubmitAction: {fileID: 2531282545373754177, guid: 243a37e9744e079e7a1be1b16e3abd19, type: 3} + m_CancelAction: {fileID: -5458812682994459350, guid: 243a37e9744e079e7a1be1b16e3abd19, type: 3} + m_LeftClickAction: {fileID: 2531282545373754177, guid: 243a37e9744e079e7a1be1b16e3abd19, type: 3} + m_MiddleClickAction: {fileID: 0} + m_RightClickAction: {fileID: 0} + m_ScrollWheelAction: {fileID: 0} + m_TrackedDevicePositionAction: {fileID: 0} + m_TrackedDeviceOrientationAction: {fileID: 0} + m_DeselectOnBackgroundClick: 1 + m_PointerBehavior: 0 + m_CursorLockBehavior: 0 +--- !u!1 &3063097482282022824 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6465002958161895518} + - component: {fileID: 4745444546230892104} + m_Layer: 5 + m_Name: DownArrow + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6465002958161895518 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3063097482282022824} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 500, y: 500, z: 0} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5027557325281688046} + 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: 0, y: -175} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!212 &4745444546230892104 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3063097482282022824} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: f224bfd122877a34aa49c63693fc317b, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.2, y: 0.2} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &3811551056361501298 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6735496012747066929} + - component: {fileID: 156370744900733935} + m_Layer: 5 + m_Name: DownArrow + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6735496012747066929 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3811551056361501298} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 500, y: 500, z: 0} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 3674956699687347171} + 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: 0, y: -175} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!212 &156370744900733935 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3811551056361501298} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: f224bfd122877a34aa49c63693fc317b, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.2, y: 0.2} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &4100832615712485931 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3674956699687347171} + - component: {fileID: 1777154834038668768} + m_Layer: 5 + m_Name: BodySelector + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3674956699687347171 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4100832615712485931} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.4, y: 0.4, z: 0.4} + m_ConstrainProportionsScale: 1 + m_Children: + - {fileID: 1835420195716879589} + - {fileID: 6735496012747066929} + - {fileID: 4415618342450672434} + m_Father: {fileID: 974482366914993075} + m_RootOrder: -1 + 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: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1777154834038668768 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4100832615712485931} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &4975805346272595057 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1853101091476000010} + - component: {fileID: 5408942508431430490} + m_Layer: 5 + m_Name: UpArrow + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1853101091476000010 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4975805346272595057} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 500, y: 500, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4022023894807504867} + 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: 0, y: 175} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!212 &5408942508431430490 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4975805346272595057} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + 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: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: f224bfd122877a34aa49c63693fc317b, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 1 + m_DrawMode: 0 + m_Size: {x: 0.11, y: 0.11} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &5097654217137280159 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6531601434267822145} + - component: {fileID: 7331369181344654240} + - component: {fileID: 7705336065034340431} + m_Layer: 5 + m_Name: TimerText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6531601434267822145 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5097654217137280159} + 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: [] + m_Father: {fileID: 523438123150444907} + 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: 0, y: 0} + m_SizeDelta: {x: 200, y: 50} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7331369181344654240 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5097654217137280159} + m_CullTransparentMesh: 1 +--- !u!114 &7705336065034340431 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5097654217137280159} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: eb6209e7125edcadb958c2055ddaffc5, type: 2} + m_sharedMaterial: {fileID: -9072920058959301574, guid: eb6209e7125edcadb958c2055ddaffc5, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 50 + m_fontSizeBase: 50 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &5328186668431144849 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4211975233605593382} + - component: {fileID: 8418915769774603709} + - component: {fileID: 3316381399893442416} + m_Layer: 5 + m_Name: SecretName + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4211975233605593382 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5328186668431144849} + 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: [] + m_Father: {fileID: 551467430177045098} + 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: 0, y: -350} + m_SizeDelta: {x: 650, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &8418915769774603709 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5328186668431144849} + m_CullTransparentMesh: 1 +--- !u!114 &3316381399893442416 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5328186668431144849} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: The Super Secret Name + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: d92f5c8d18e777e438cc7641fb4b8324, type: 2} + m_sharedMaterial: {fileID: -9072920058959301574, guid: d92f5c8d18e777e438cc7641fb4b8324, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 100 + m_fontSizeBase: 100 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: -442.49713, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &6244750423958672414 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 523438123150444907} + m_Layer: 5 + m_Name: Timer + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &523438123150444907 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6244750423958672414} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 3.65, y: 3.65, z: 3.65} + m_ConstrainProportionsScale: 1 + m_Children: + - {fileID: 6531601434267822145} + m_Father: {fileID: 1938151450599313512} + m_RootOrder: -1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0, y: -188} + m_SizeDelta: {x: 150, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &6596575034333967962 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6154156806219520954} + - component: {fileID: 5392219698050781977} + - component: {fileID: 8546860006739031995} + m_Layer: 0 + m_Name: ItemSelectPlayer + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6154156806219520954 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6596575034333967962} + 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: 3467480324082098118} + - {fileID: 1938151450599313512} + - {fileID: 8894830759317476662} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &5392219698050781977 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6596575034333967962} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f7638022abb1e3e438915d714186f11b, type: 3} + m_Name: + m_EditorClassIdentifier: + defaultBodyItem: {fileID: 11400000, guid: bf9666eedd80829a0a6b59278813ba72, type: 2} + defaultBarrelItem: {fileID: 11400000, guid: 89eab92daa1634e84ace980d00e1880e, type: 2} + itemSpawnPoints: + - {fileID: 1835420195716879589} + - {fileID: 7760025129845217879} + - {fileID: 3554179976705927318} + canvas: {fileID: 8642731799569895425} + timer: {fileID: 8546860006739031995} + defaultSelector: {fileID: 0} + timerText: {fileID: 7705336065034340431} + cameraPosition: {fileID: 3467480324082098118} + playerStatUI: {fileID: 5425617339122362748} + secretName: {fileID: 3316381399893442416} + bodySelect: {fileID: 8075959133707509648} + barrelSelect: {fileID: 7665611240240976438} + extensionSelect: {fileID: 4222000554002073790} + selectedColor: {r: 1, g: 0.32156864, b: 0.32156864, a: 1} + defaultColor: {r: 0.22745098, g: 0.21176471, b: 0.18431373, a: 1} +--- !u!114 &8546860006739031995 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6596575034333967962} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bf39a137c20631044b50258ded7b8ed2, type: 3} + m_Name: + m_EditorClassIdentifier: + baseWaitTime: 0 + additionalWaitTime: 0 + repeat: 0 +--- !u!1 &7506024999133928506 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7760025129845217879} + - component: {fileID: 9123200796075227308} + - component: {fileID: 7665611240240976438} + m_Layer: 5 + m_Name: Barrel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7760025129845217879 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7506024999133928506} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 2, y: 2, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4022023894807504867} + 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: 0, y: 0} + m_SizeDelta: {x: 150, y: 150} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &9123200796075227308 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7506024999133928506} + m_CullTransparentMesh: 1 +--- !u!114 &7665611240240976438 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7506024999133928506} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.22745098, g: 0.21176471, b: 0.18431373, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + 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 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &7914990485453685338 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4022023894807504867} + - component: {fileID: 6381499510391525725} + m_Layer: 5 + m_Name: BarrelSelector + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4022023894807504867 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7914990485453685338} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.4, y: 0.4, z: 0.4} + m_ConstrainProportionsScale: 1 + m_Children: + - {fileID: 7760025129845217879} + - {fileID: 2222393851923425568} + - {fileID: 1853101091476000010} + m_Father: {fileID: 974482366914993075} + m_RootOrder: -1 + 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: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &6381499510391525725 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7914990485453685338} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &7934280944440872868 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5027557325281688046} + - component: {fileID: 3318220935693982016} + m_Layer: 5 + m_Name: ExtensionSelector + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5027557325281688046 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7934280944440872868} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.4, y: 0.4, z: 0.4} + m_ConstrainProportionsScale: 1 + m_Children: + - {fileID: 3554179976705927318} + - {fileID: 6465002958161895518} + - {fileID: 5951770799153895023} + m_Father: {fileID: 974482366914993075} + m_RootOrder: -1 + 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: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &3318220935693982016 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7934280944440872868} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &8432985527125420546 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1938151450599313512} + - component: {fileID: 8642731799569895425} + - component: {fileID: 7284297829990951058} + - component: {fileID: 3241390050563285141} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1938151450599313512 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8432985527125420546} + 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_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 974482366914993075} + - {fileID: 523438123150444907} + - {fileID: 551467430177045098} + m_Father: {fileID: 6154156806219520954} + m_RootOrder: -1 + 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!223 &8642731799569895425 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8432985527125420546} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 1 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 1 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_VertexColorAlwaysGammaSpace: 0 + m_AdditionalShaderChannelsFlag: 25 + m_UpdateRectTransformForStandalone: 0 + m_SortingLayerID: 0 + m_SortingOrder: -1 + m_TargetDisplay: 0 +--- !u!114 &7284297829990951058 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8432985527125420546} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 1 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 1920, y: 1080} + m_ScreenMatchMode: 1 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 + m_PresetInfoIsWorld: 0 +--- !u!114 &3241390050563285141 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8432985527125420546} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!1 &9030164699864524844 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 551467430177045098} + m_Layer: 5 + m_Name: SecretName + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &551467430177045098 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9030164699864524844} + 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: 4211975233605593382} + m_Father: {fileID: 1938151450599313512} + 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: 0, y: 0} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1001 &6988592220468978133 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 974482366914993075} + m_Modifications: + - target: {fileID: 576318896, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 576318896, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 576318896, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 576318896, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 576318896, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 576318896, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 405501401764975856, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 405501401764975856, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 405501401764975856, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 405501401764975856, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 405501401764975856, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 630984590955568495, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 630984590955568495, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 630984590955568495, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 630984590955568495, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 630984590955568495, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 709639460233118108, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 709639460233118108, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 709639460233118108, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 709639460233118108, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 709639460233118108, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 830683040350271586, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 830683040350271586, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 830683040350271586, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 830683040350271586, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 830683040350271586, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 830683040350271586, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1525394407468444097, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1525394407468444097, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1525394407468444097, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1525394407468444097, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1525394407468444097, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1525394407468444097, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1611619615333112187, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1611619615333112187, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1611619615333112187, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1611619615333112187, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1611619615333112187, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_RootOrder + value: -1 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 113 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 200 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalScale.x + value: 1.24 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalScale.y + value: 1.24 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalScale.z + value: 1.24 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_ConstrainProportionsScale + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1774292626038758922, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_Name + value: PlayerStatUI + objectReference: {fileID: 0} + - target: {fileID: 1897839594823681331, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1897839594823681331, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1897839594823681331, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1897839594823681331, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1897839594823681331, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2350296177483430475, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2350296177483430475, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2350296177483430475, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2350296177483430475, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2350296177483430475, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3234826842851503911, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3234826842851503911, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3234826842851503911, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3234826842851503911, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3234826842851503911, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3702190942111872960, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3702190942111872960, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3702190942111872960, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3702190942111872960, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3702190942111872960, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3902235889014742746, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3902235889014742746, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3902235889014742746, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3902235889014742746, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3902235889014742746, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4569807294722173832, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4569807294722173832, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4569807294722173832, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4569807294722173832, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4569807294722173832, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4798440516956199034, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4798440516956199034, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4798440516956199034, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4798440516956199034, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4798440516956199034, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5100530659338186131, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5100530659338186131, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5100530659338186131, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5100530659338186131, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5100530659338186131, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5174682066926317920, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5174682066926317920, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5174682066926317920, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5174682066926317920, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5174682066926317920, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5664570330989741106, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5664570330989741106, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5664570330989741106, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5664570330989741106, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5664570330989741106, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5866574969309271537, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5866574969309271537, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5866574969309271537, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5866574969309271537, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5866574969309271537, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6725590566133860947, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6725590566133860947, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6725590566133860947, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6725590566133860947, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6725590566133860947, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6725590566133860947, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6908086682209798948, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6908086682209798948, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6908086682209798948, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6908086682209798948, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6908086682209798948, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6908086682209798948, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7128465282539872219, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7128465282539872219, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7128465282539872219, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7128465282539872219, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7128465282539872219, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8037923834076550724, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8037923834076550724, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8037923834076550724, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8037923834076550724, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8037923834076550724, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8057184751543011803, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8057184751543011803, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8057184751543011803, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8057184751543011803, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8057184751543011803, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8057184751543011803, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8104978830499481479, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8104978830499481479, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8104978830499481479, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8104978830499481479, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8104978830499481479, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8660011302761049638, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8660011302761049638, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8660011302761049638, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8660011302761049638, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8660011302761049638, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8912728073727736447, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8912728073727736447, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8912728073727736447, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8912728073727736447, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8912728073727736447, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8912728073727736447, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8967036035517373391, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8967036035517373391, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8967036035517373391, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8967036035517373391, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8967036035517373391, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 59497b5e309fc92469d237dd604b4127, type: 3} +--- !u!114 &5425617339122362748 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 3150230150688934057, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + m_PrefabInstance: {fileID: 6988592220468978133} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 63c83ab2233d44b4eb6fd1f0731670b9, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!224 &8693532203781817968 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 1754669797276723109, guid: 59497b5e309fc92469d237dd604b4127, type: 3} + m_PrefabInstance: {fileID: 6988592220468978133} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Prefabs/Input/ItemSelectPlayer.prefab.meta b/Assets/Prefabs/Input/ItemSelectPlayer.prefab.meta new file mode 100644 index 000000000..bc8729356 --- /dev/null +++ b/Assets/Prefabs/Input/ItemSelectPlayer.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6f9988a3327983940a8001c11c3fe0e7 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Input/PlayerBidding.prefab b/Assets/Prefabs/Input/PlayerBidding.prefab index ec6685eb3..94b10dc0d 100644 --- a/Assets/Prefabs/Input/PlayerBidding.prefab +++ b/Assets/Prefabs/Input/PlayerBidding.prefab @@ -1041,7 +1041,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &3570743071879246586 RectTransform: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/UI/PlayerStatUI.prefab b/Assets/Prefabs/UI/PlayerStatUI.prefab index 232887271..f1ec232a3 100644 --- a/Assets/Prefabs/UI/PlayerStatUI.prefab +++ b/Assets/Prefabs/UI/PlayerStatUI.prefab @@ -1,102 +1,5 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1 &576318895 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 576318896} - - component: {fileID: 576318898} - - component: {fileID: 576318897} - - component: {fileID: 576318899} - m_Layer: 5 - m_Name: Image - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &576318896 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 576318895} - 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: 1 - m_Children: [] - m_Father: {fileID: 8912728073727736447} - m_RootOrder: -1 - 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.5, y: 0.5} ---- !u!222 &576318898 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 576318895} - m_CullTransparentMesh: 1 ---- !u!114 &576318897 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 576318895} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 0} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 07a57951e2f2c564093c5dc9cc2aaef8, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &576318899 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 576318895} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreLayout: 0 - m_MinWidth: -1 - m_MinHeight: -1 - m_PreferredWidth: -1 - m_PreferredHeight: -1 - m_FlexibleWidth: -1 - m_FlexibleHeight: -1 - m_LayoutPriority: 1 --- !u!1 &1774292626038758922 GameObject: m_ObjectHideFlags: 0 @@ -713,6 +616,8 @@ MonoBehaviour: m_EditorClassIdentifier: projectile: {fileID: 0} outputs: [] + RightHandTarget: {fileID: 0} + LeftHandTarget: {fileID: 0} player: {fileID: 0} triggerHeld: 0 triggerPressed: 0 @@ -764,7 +669,6 @@ RectTransform: m_Children: - {fileID: 830683040350271586} - {fileID: 6725590566133860947} - - {fileID: 576318896} - {fileID: 6000663570010513677} m_Father: {fileID: 1525394407468444097} m_RootOrder: -1 diff --git a/Assets/Scenes/Bidding.unity b/Assets/Scenes/Bidding.unity index 8646932e7..aaa5caff4 100644 --- a/Assets/Scenes/Bidding.unity +++ b/Assets/Scenes/Bidding.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.22043695, g: 0.0624519, b: 0.039153777, a: 1} + m_IndirectSpecularColor: {r: 0.22043663, g: 0.062451757, b: 0.039153658, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -2632,6 +2632,11 @@ MonoBehaviour: - {fileID: 918815543} - {fileID: 1947421789} - {fileID: 581585434} + playerSelectItemPrefab: {fileID: 6596575034333967962, guid: 6f9988a3327983940a8001c11c3fe0e7, type: 3} + itemPositions: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} globalHUDController: {fileID: 1106611673} --- !u!114 &1285074139 MonoBehaviour: diff --git a/Assets/Scripts/Auction/AuctionDriver.cs b/Assets/Scripts/Auction/AuctionDriver.cs index cfe490742..e0a1b0dea 100644 --- a/Assets/Scripts/Auction/AuctionDriver.cs +++ b/Assets/Scripts/Auction/AuctionDriver.cs @@ -38,6 +38,28 @@ public class AuctionDriver : MonoBehaviour [SerializeField] private Animator cameraAnimator; + public GameObject Camera => cameraAnimator.gameObject; + + public static AuctionDriver Singleton; + + private void Awake() { + #region Singleton boilerplate + + if (Singleton != null) + { + if (Singleton != this) + { + Debug.LogWarning($"There's more than one {Singleton.GetType()} in the scene!"); + Destroy(gameObject); + } + + return; + } + + Singleton = this; + + #endregion Singleton boilerplate + } // Stages // BiddingStage contains a list of items (scriptableobjects) @@ -137,11 +159,15 @@ private void EndAuction(BiddingPlatform biddingPlatform) StartCoroutine(AnimateGunConstruction(playersInAuction.ElementAt(playersInAuction.Count-i-1), gunConstructionPanels[i])); } */ + + playerFactory.InstantiatePlayerSelectItems(); + + } + public void ChangeScene(){ StartCoroutine(MatchController.Singleton.WaitAndStartNextRound()); - PlayerInputManagerController.Singleton.playerInputs.ForEach(playerInput => playerInput.RemoveListeners()); + PlayerInputManagerController.Singleton.playerInputs.ForEach(playerInput => playerInput.RemoveListeners()); } - private IEnumerator AnimateGunConstruction(PlayerManager playerManager, RectTransform parent) { yield return new WaitForSeconds(1); diff --git a/Assets/Scripts/Control&Input/ItemSelectManager.cs b/Assets/Scripts/Control&Input/ItemSelectManager.cs new file mode 100644 index 000000000..00bc3a1f8 --- /dev/null +++ b/Assets/Scripts/Control&Input/ItemSelectManager.cs @@ -0,0 +1,302 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; +using UnityEngine.InputSystem; +using UnityEngine.EventSystems; +using TMPro; +using SecretName; + +public class ItemSelectManager : MonoBehaviour +{ + [SerializeField] + private Item defaultBodyItem; + [SerializeField] + private Item defaultBarrelItem; + [SerializeField] + private Transform[] itemSpawnPoints; + + [SerializeField] + private Canvas canvas; + + private List bodies = new List(); + private List barrels = new List(); + private List extensions = new List(); + [SerializeField] + private Timer timer; + private List bodyItems; + private List barrelItems; + private List extensionItems; + private InputManager inputManager; + [SerializeField] + private Selectable defaultSelector; + private Vector2 moveInput; + private int bodyIndex; + private int barrelIndex; + private int extensionIndex; + [SerializeField] + private TMP_Text timerText; + private const float errorMarginInput = 0.1f; + private bool gamepadMoveReady = true; + public Transform cameraPosition; + [SerializeField] + private PlayerStatUI playerStatUI; + [SerializeField] + private TMP_Text secretName; + + [SerializeField] + private Image bodySelect; + [SerializeField] + private Image barrelSelect; + [SerializeField] + private Image extensionSelect; + [SerializeField] + private Color selectedColor; + [SerializeField] + private Color defaultColor; + private int selectedTypeIndex = 0; + + void Start() + { + bodySelect.color = selectedColor; + } + public IEnumerator SpawnItems(InputManager inputManager){ + + //Without this line it is arbitrary whether an item from aucion is transferred + yield return null; + this.inputManager = inputManager; + canvas.worldCamera = inputManager.GetComponent(); + playerStatUI.PlayerIdentity = inputManager.GetComponent(); + bodyItems = inputManager.GetComponent().Bodies; + barrelItems = inputManager.GetComponent().Barrels; + extensionItems = inputManager.GetComponent().Extensions; + + InstantiateItems(bodyItems,defaultBodyItem,itemSpawnPoints[0], bodies); + InstantiateItems(barrelItems,defaultBarrelItem,itemSpawnPoints[1], barrels); + InstantiateItems(extensionItems,null,itemSpawnPoints[2],extensions); + + + bodyIndex = bodies.Count - 1; + barrelIndex = barrels.Count - 1; + extensionIndex = extensions.Count - 1; + + + + ChangeItemDisplayed(bodies[bodyIndex], bodies[bodyIndex], itemSpawnPoints[0]); + ChangeItemDisplayed(barrels[barrelIndex],barrels[barrelIndex],itemSpawnPoints[1]); + ChangeItemDisplayed( + extensions.Count != 0 ? extensions[extensionIndex] : null, + extensions.Count != 0 ? extensions[extensionIndex] : null, + itemSpawnPoints[2]); + + yield return null; + yield return null; + + inputManager.onMovePerformed += MoveInputPerformed; + inputManager.onMoveCanceled += MoveInputCanceled; + + timer.StartTimer(20f); + timer.OnTimerUpdate += UpdateTimer; + timer.OnTimerRunCompleted += ChangeScene; + timer.OnTimerRunCompleted += SetLoadout; + timer.OnTimerRunCompleted -= UpdateTimer; + + + } + + private void ChangeItemDisplayed(GameObject previousItem, GameObject nextItem,Transform itemSpawnPoint){ + + if(previousItem == null && nextItem == null){ + Debug.Log("Player has no extensions"); + return; + } + + SetLoadout(); + previousItem.transform.SetParent(null); + previousItem.transform.localPosition = Vector3.zero; + + nextItem.transform.SetParent(itemSpawnPoint); + if(itemSpawnPoint == itemSpawnPoints[1]){ + nextItem.transform.localPosition = new Vector3(-40f,0,-60); + + if(nextItem.TryGetComponent(out HatBarrel hatBarrel)){ + nextItem.LeanScale(new Vector3(100f, 100f, 100f), 0.5f); + }else{ + nextItem.LeanScale(new Vector3(150f, 150f, 150f), 0.5f); + } + }else{ + nextItem.transform.localPosition = Vector3.zero; + nextItem.LeanScale(new Vector3(150f, 150f, 150f), 0.5f); + + } + + + } + + private void InstantiateItems(List items, Item defaultItem, Transform itemSpawnPoint, List itemObjects){ + + if(defaultItem != null && !items.Contains(defaultItem)) items.Insert(0,defaultItem); + + for(int i = 0; i < items.Count; i++){ + itemObjects.Add(Instantiate(items[i].augment, Vector3.zero, Quaternion.Euler(new Vector3(0, 90, -20)))); + } + Debug.Log(items.Count); + Debug.Log(itemObjects.Count); + + } + private void MoveInputPerformed(InputAction.CallbackContext ctx) + { + moveInput = ctx.ReadValue(); + Debug.Log(moveInput); + + if(moveInput.y > 1 - errorMarginInput && gamepadMoveReady){ + MoveUpPerformed(); + gamepadMoveReady = false; + StartCoroutine(gamepadMoveDelay()); + }else if (moveInput.y < -1 + errorMarginInput && gamepadMoveReady){ + MoveDownPerformed(); + gamepadMoveReady = false; + StartCoroutine(gamepadMoveDelay()); + + }else if (moveInput.x < -1 + errorMarginInput && gamepadMoveReady){ + selectedTypeIndex--; + selectedTypeIndex = selectedTypeIndex < 0 ? 2 : selectedTypeIndex; + gamepadMoveReady = false; + StartCoroutine(gamepadMoveDelay()); + + }else if (moveInput.x > 1 - errorMarginInput && gamepadMoveReady){ + selectedTypeIndex++; + selectedTypeIndex = selectedTypeIndex > 2 ? 0 : selectedTypeIndex; + gamepadMoveReady = false; + StartCoroutine(gamepadMoveDelay()); + } + bodySelect.color = defaultColor; + barrelSelect.color = defaultColor; + extensionSelect.color = defaultColor; + switch (selectedTypeIndex){ + case 0: + bodySelect.color = selectedColor; + break; + case 1: + barrelSelect.color = selectedColor; + break; + case 2: + extensionSelect.color = selectedColor; + break; + } + } + private IEnumerator gamepadMoveDelay(){ + yield return new WaitForSeconds(0.2f); + gamepadMoveReady = true; + } + private void MoveInputCanceled(InputAction.CallbackContext ctx) + { + moveInput = Vector2.zero; + } + private void MoveUpPerformed(){ + switch(selectedTypeIndex) + { + case 0: + + if(bodyIndex == bodies.Count - 1){ + bodyIndex = 0; + ChangeItemDisplayed(bodies[^1],bodies[bodyIndex],itemSpawnPoints[0]); + }else { + bodyIndex ++; + ChangeItemDisplayed(bodies[bodyIndex - 1],bodies[bodyIndex],itemSpawnPoints[0]); + } + break; + case 1: + if(barrelIndex == barrels.Count - 1){ + barrelIndex = 0; + ChangeItemDisplayed(barrels[^1],barrels[barrelIndex],itemSpawnPoints[1]); + + }else{ + barrelIndex ++; + ChangeItemDisplayed(barrels[barrelIndex - 1],barrels[barrelIndex],itemSpawnPoints[1]); + } + + break; + case 2: + + if(extensionIndex == extensions.Count - 1){ + extensionIndex = 0; + ChangeItemDisplayed(extensions[^1],extensions[extensionIndex],itemSpawnPoints[2]); + + }else{ + extensionIndex ++; + ChangeItemDisplayed(extensions[extensionIndex - 1],extensions[extensionIndex],itemSpawnPoints[2]); + } + break; + } + + } + private void MoveDownPerformed(){ + switch(selectedTypeIndex) + { + case 0: + + if(bodyIndex == 0){ + bodyIndex = bodies.Count - 1; + ChangeItemDisplayed(bodies[0],bodies[bodyIndex],itemSpawnPoints[0]); + }else { + bodyIndex --; + ChangeItemDisplayed(bodies[bodyIndex + 1],bodies[bodyIndex],itemSpawnPoints[0]); + } + + break; + case 1: + + if(barrelIndex == 0){ + barrelIndex = barrels.Count - 1; + ChangeItemDisplayed(barrels[0],barrels[barrelIndex],itemSpawnPoints[1]); + + }else{ + barrelIndex --; + ChangeItemDisplayed(barrels[barrelIndex + 1],barrels[barrelIndex],itemSpawnPoints[1]); + } + + break; + case 2: + + if(extensions.Count != 0){ + if(extensionIndex == 0){ + extensionIndex = extensions.Count - 1; + ChangeItemDisplayed(extensions[0],extensions[extensionIndex],itemSpawnPoints[2]); + + }else{ + extensionIndex --; + ChangeItemDisplayed(extensions[extensionIndex + 1],extensions[extensionIndex],itemSpawnPoints[2]); + } + } + break; + } + + } + public void SetLoadout(){ + var player = inputManager.GetComponent(); + player.SetLoadout( + bodyItems[bodyIndex], + barrelItems[barrelIndex], + extensionItems.Count != 0 ? extensionItems[extensionIndex] : null); + playerStatUI.UpdateStats(); + secretName.text = player.GetGunName(); + } + + private void ChangeScene(){ + AuctionDriver.Singleton.ChangeScene(); + } + public void SelectControl(Selectable target) + { + StartCoroutine(WaitSelect(target)); + } + private IEnumerator WaitSelect(Selectable target) + { + yield return null; + } + private void UpdateTimer() + { + timerText.text = Mathf.Round(timer.WaitTime - timer.ElapsedTime).ToString(); + } +} + diff --git a/Assets/Scripts/Control&Input/ItemSelectManager.cs.meta b/Assets/Scripts/Control&Input/ItemSelectManager.cs.meta new file mode 100644 index 000000000..15b70d434 --- /dev/null +++ b/Assets/Scripts/Control&Input/ItemSelectManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f7638022abb1e3e438915d714186f11b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Gamestate/PlayerFactory.cs b/Assets/Scripts/Gamestate/PlayerFactory.cs index d68225eed..4c3564c40 100644 --- a/Assets/Scripts/Gamestate/PlayerFactory.cs +++ b/Assets/Scripts/Gamestate/PlayerFactory.cs @@ -10,7 +10,9 @@ public class PlayerFactory : MonoBehaviour private GameObject playerPrefab; [SerializeField] private Transform[] spawnPoints; - + [SerializeField] + private GameObject playerSelectItemPrefab; + private float spawnInterval = 0f; private PlayerInputManagerController playerInputManagerController; [SerializeField] @@ -39,6 +41,12 @@ public void InstantiatePlayersBidding() playerInputManagerController.ChangeInputMaps("Bidding"); InstantiateInputsOnSpawnpoints(InstantiateBiddingPlayer); } + public void InstantiatePlayerSelectItems() + { + playerInputManagerController.ChangeInputMaps("Menu"); + InstantiateInputsOnSpawnpoints(InstantiateItemSelectPlayer); + + } private void InstantiateInputsOnSpawnpoints(Action instantiate) { @@ -98,8 +106,19 @@ private void InstantiateBiddingPlayer(InputManager inputManager, Transform spawn // Update player's movement script with which playerInput it should attach listeners to var playerManager = player.GetComponent(); playerManager.SetPlayerInput(inputManager); - // Add player UI to globalUI - globalHUDController.SetPlayer(playerManager); player.GetComponent().enabled = false; } + private void InstantiateItemSelectPlayer(InputManager inputManager, Transform spawnPoint) + { + GetComponent().Camera.GetComponent().enabled = false; + inputManager.GetComponent().enabled = true; + inputManager.gameObject.SetActive(false); + PlayerInputManagerController.Singleton.playerInputManager.splitScreen = true; + inputManager.gameObject.SetActive(true); + spawnInterval += 10000f; + GameObject player = Instantiate(playerSelectItemPrefab, spawnPoint.position + new Vector3(spawnInterval, spawnInterval, 0), spawnPoint.rotation); + Camera playerCamera = inputManager.GetComponent(); + playerCamera.transform.position = player.GetComponent().cameraPosition.transform.position; + StartCoroutine(player.GetComponent().SpawnItems(inputManager)); + } } diff --git a/Assets/Scripts/Gamestate/PlayerIdentity.cs b/Assets/Scripts/Gamestate/PlayerIdentity.cs index 9ce88d95b..ce859f0bd 100644 --- a/Assets/Scripts/Gamestate/PlayerIdentity.cs +++ b/Assets/Scripts/Gamestate/PlayerIdentity.cs @@ -72,15 +72,12 @@ public void PerformTransaction(Item item) switch (item.augmentType) { case AugmentType.Body: - body = item; Bodies.Add(item); break; case AugmentType.Barrel: - barrel = item; Barrels.Add(item); break; case AugmentType.Extension: - extension = item; Extensions.Add(item); break; default: @@ -101,6 +98,12 @@ public void resetItems() chips = 0; } + public void SetLoadout(Item body,Item barrel, Item extension){ + this.body = body; + this.barrel = barrel; + this.extension = extension; + } + public override string ToString() { return name; diff --git a/Assets/Scripts/UI/GlobalHUDController.cs b/Assets/Scripts/UI/GlobalHUDController.cs index 2a0072b38..862b7e025 100644 --- a/Assets/Scripts/UI/GlobalHUDController.cs +++ b/Assets/Scripts/UI/GlobalHUDController.cs @@ -7,8 +7,6 @@ public class GlobalHUDController : MonoBehaviour [SerializeField] private TMP_Text roundTimer; - [SerializeField] - private PlayerStatUI[] playerStatPanels; [SerializeField] private TMP_Text winText; @@ -19,8 +17,6 @@ public class GlobalHUDController : MonoBehaviour [SerializeField] private TMP_Text startText; - private int nextPlayerStatIndex = 0; - void Start() { // Places the roundTimer at appropriate place on split screen @@ -33,28 +29,6 @@ void Start() roundTimer.alignment = TextAlignmentOptions.Top; } - StartCoroutine(DisableUnusedStatUIs()); - } - - private IEnumerator DisableUnusedStatUIs() - { - // Wait one frame before disabling stat blocks - yield return null; - for (int i = nextPlayerStatIndex; i < playerStatPanels.Length; i++) - { - playerStatPanels[i].enabled = false; - } - } - - public void SetPlayer(PlayerManager playerManager) - { - if (nextPlayerStatIndex >= playerStatPanels.Length) - { - Debug.LogWarning("Too many player inputs!"); - return; - } - playerStatPanels[nextPlayerStatIndex].PlayerManager = playerManager; - nextPlayerStatIndex++; } public void OnTimerUpdate(float time) diff --git a/Assets/Scripts/UI/PlayerStatUI.cs b/Assets/Scripts/UI/PlayerStatUI.cs index 4bb36b51c..05fd58528 100644 --- a/Assets/Scripts/UI/PlayerStatUI.cs +++ b/Assets/Scripts/UI/PlayerStatUI.cs @@ -38,26 +38,26 @@ public class PlayerStatUI : MonoBehaviour private Outline outline; - private PlayerManager playerManager; + private PlayerIdentity playerIdentity; [SerializeField] private float gunPreviewScale; private float gunPreviewPositionZ = -1f; - public PlayerManager PlayerManager + public PlayerIdentity PlayerIdentity { - get => playerManager; + get => playerIdentity; set { - playerManager = value; + playerIdentity = value; Init(); } } private void Init() { - if (!playerManager) + if (!playerIdentity) { return; } @@ -65,16 +65,13 @@ private void Init() statContainer.alpha = 1; outline = GetComponent(); - SetName(playerManager.identity.playerName); - SetColor(playerManager.identity.color); + SetName(playerIdentity.playerName); + SetColor(playerIdentity.color); - SetChips(playerManager.identity.chips); - playerManager.identity.onChipChange += SetChips; - playerManager.identity.onChipSpent += AnimateTransaction; - playerManager.identity.onChipGain += AnimateTransaction; + SetChips(playerIdentity.chips); - SetGunName(playerManager.GetGunName()); - gunPreviewGameObject = GunFactory.InstantiateGun(playerManager.identity.Body, playerManager.identity.Barrel, playerManager.identity.Extension, null, gunPreviewPanel); + SetGunName(playerIdentity.GetGunName()); + gunPreviewGameObject = GunFactory.InstantiateGun(playerIdentity.Body, playerIdentity.Barrel, playerIdentity.Extension, null, gunPreviewPanel); gunPreviewGameObject.transform.Rotate(new Vector3(0f, 90f)); gunPreviewGameObject.transform.localScale = new Vector3(gunPreviewScale, gunPreviewScale, gunPreviewScale); gunPreviewGameObject.transform.Translate(new Vector3(0f, 0f, gunPreviewPositionZ)); @@ -83,53 +80,35 @@ private void Init() OnInventoryChange(null); ResetNewGunStats(); // Respond to stat changes - playerManager.identity.onInventoryChange += OnInventoryChange; - playerManager.onSelectedBiddingPlatformChange += OnBiddingPlatformChange; - - } - - void OnDisable() - { - // Hide stats - statContainer.alpha = 0; + playerIdentity.onInventoryChange += OnInventoryChange; } void OnDestroy() { - if (!playerManager) + if (!playerIdentity) { return; } - playerManager.identity.onChipChange -= SetChips; - playerManager.identity.onChipSpent -= AnimateTransaction; - playerManager.identity.onChipGain -= AnimateTransaction; - playerManager.identity.onInventoryChange -= OnInventoryChange; - playerManager.onSelectedBiddingPlatformChange -= OnBiddingPlatformChange; - } - - private void AnimateTransaction(int amount) - { - if (chip == null) - return; - chip.AnimateTransaction(amount, playerManager.SelectedBiddingPlatform.transform); + playerIdentity.onChipChange -= SetChips; + playerIdentity.onInventoryChange -= OnInventoryChange; } private void OnInventoryChange(Item item) { - SetBaseGunStats(GunFactory.GetGunStats(playerManager.identity.Body, playerManager.identity.Barrel, playerManager.identity.Extension)); + SetBaseGunStats(GunFactory.GetGunStats(playerIdentity.Body, playerIdentity.Barrel, playerIdentity.Extension)); } private void OnBiddingPlatformChange(BiddingPlatform platform) { - Item body = playerManager.identity.Body; - Item barrel = playerManager.identity.Barrel; - Item extension = playerManager.identity.Extension; + Item body = playerIdentity.Body; + Item barrel = playerIdentity.Barrel; + Item extension = playerIdentity.Extension; if (platform == null || platform.Item == null) { ResetNewGunStats(); - SetGunName(playerManager.GetGunName()); + SetGunName(playerIdentity.GetGunName()); SetGunPreview(body, barrel, extension); return; } @@ -149,10 +128,15 @@ private void OnBiddingPlatformChange(BiddingPlatform platform) Debug.Log($"No appropritate augmentType ({platform.Item.augmentType}) found in item."); break; } - GunStats stats = GunFactory.GetGunStats(body, barrel, extension); + UpdateStats(); + } + + public void UpdateStats() + { + GunStats stats = GunFactory.GetGunStats(playerIdentity.Body, playerIdentity.Barrel, playerIdentity.Extension); SetNewGunStats(stats); - SetGunName(GunFactory.GetGunName(body, barrel, extension)); - SetGunPreview(body, barrel, extension); + SetGunName(GunFactory.GetGunName(playerIdentity.Body, playerIdentity.Barrel, playerIdentity.Extension)); + SetGunPreview(playerIdentity.Body, playerIdentity.Barrel, playerIdentity.Extension); } public void SetName(string name)