diff --git a/.gitignore b/.gitignore index 8816f41..0473512 100644 --- a/.gitignore +++ b/.gitignore @@ -534,3 +534,4 @@ fabric.properties .idea/caches/build_file_checksums.ser /WebGLBuild/ +/Assets/MapMaker.cs diff --git a/Assets/Scenes/MapScene.unity b/Assets/Scenes/MapScene.unity index a3c4787..3acbcf9 100644 --- a/Assets/Scenes/MapScene.unity +++ b/Assets/Scenes/MapScene.unity @@ -415,6 +415,10 @@ PrefabInstance: propertyPath: m_Name value: UI objectReference: {fileID: 0} + - target: {fileID: 3470788445794997642, guid: c96875b7a845a7143be803fea0004d49, type: 3} + propertyPath: m_AnchoredPosition.y + value: -206.67218 + objectReference: {fileID: 0} - target: {fileID: 8674794668803218733, guid: c96875b7a845a7143be803fea0004d49, type: 3} propertyPath: m_SizeDelta.x value: 496.4093 @@ -423,6 +427,10 @@ PrefabInstance: propertyPath: m_SizeDelta.y value: 406.8765 objectReference: {fileID: 0} + - target: {fileID: 8674794668803218733, guid: c96875b7a845a7143be803fea0004d49, type: 3} + propertyPath: m_AnchoredPosition.y + value: -205.17215 + objectReference: {fileID: 0} - target: {fileID: 8674794668803218738, guid: c96875b7a845a7143be803fea0004d49, type: 3} propertyPath: m_ChildScaleWidth value: 0 @@ -825,6 +833,36 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1589346448 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1589346449} + m_Layer: 0 + m_Name: GameObject + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1589346449 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1589346448} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 90} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1616522161 GameObject: m_ObjectHideFlags: 0 @@ -1201,7 +1239,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!4 &2069621863 Transform: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 9421266..ec56616 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -123,6 +123,185 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} +--- !u!1 &385420696 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 385420697} + - component: {fileID: 385420699} + - component: {fileID: 385420698} + m_Layer: 5 + m_Name: Placeholder + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &385420697 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 385420696} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 875360907} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -0.5} + m_SizeDelta: {x: -20, y: -13} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &385420698 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 385420696} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 2 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Res1 +--- !u!222 &385420699 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 385420696} + m_CullTransparentMesh: 0 +--- !u!1 &423554799 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 423554803} + - component: {fileID: 423554802} + - component: {fileID: 423554801} + - component: {fileID: 423554800} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &423554800 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 423554799} + 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!114 &423554801 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 423554799} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &423554802 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 423554799} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 519420031} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &423554803 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 423554799} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1209871802} + - {fileID: 1751228919} + m_Father: {fileID: 0} + 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: 960, y: 540} + m_SizeDelta: {x: 1920, y: 1080} + m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &519420028 GameObject: m_ObjectHideFlags: 0 @@ -134,6 +313,8 @@ GameObject: - component: {fileID: 519420032} - component: {fileID: 519420031} - component: {fileID: 519420029} + - component: {fileID: 519420030} + - component: {fileID: 519420033} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -149,6 +330,28 @@ AudioListener: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 519420028} m_Enabled: 1 +--- !u!114 &519420030 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519420028} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a43ee5b6d98125248a40f87f3f6d3196, type: 3} + m_Name: + m_EditorClassIdentifier: + res1Input: {fileID: 875360908} + res2Input: {fileID: 1718697980} + widthInput: {fileID: 1377457018} + heightInput: {fileID: 1045931136} + canvas: {fileID: 423554802} + width: 10 + height: 10 + cell: {fileID: 1850880820349203027, guid: e41e35146487f2441b776430daa93435, type: 3} + res1Prefab: {fileID: 0} + res2Prefab: {fileID: 0} --- !u!20 &519420031 Camera: m_ObjectHideFlags: 0 @@ -176,7 +379,7 @@ Camera: far clip plane: 1000 field of view: 60 orthographic: 1 - orthographic size: 5 + orthographic size: 17.8 m_Depth: -1 m_CullingMask: serializedVersion: 2 @@ -206,3 +409,2149 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &519420033 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 519420028} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0e6dda28b97103a4e89340af0863e0ed, type: 3} + m_Name: + m_EditorClassIdentifier: + dragSpeed: 2 + zoomSpeed: 2 + myCamera: {fileID: 519420031} +--- !u!1 &656879637 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 656879638} + - component: {fileID: 656879640} + - component: {fileID: 656879639} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &656879638 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 656879637} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1977979288} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &656879639 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 656879637} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Export +--- !u!222 &656879640 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 656879637} + m_CullTransparentMesh: 0 +--- !u!1 &875360906 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 875360907} + - component: {fileID: 875360910} + - component: {fileID: 875360909} + - component: {fileID: 875360908} + m_Layer: 5 + m_Name: InputField + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &875360907 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 875360906} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.0963092, y: 0.0963092, z: 0.0963092} + m_Children: + - {fileID: 385420697} + - {fileID: 1559488834} + m_Father: {fileID: 1751228919} + 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: -983.6, y: -529.1} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &875360908 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 875360906} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 875360909} + m_TextComponent: {fileID: 1559488835} + m_Placeholder: {fileID: 385420698} + m_ContentType: 0 + m_InputType: 0 + m_AsteriskChar: 42 + m_KeyboardType: 0 + m_LineType: 0 + m_HideMobileInput: 0 + m_CharacterValidation: 0 + m_CharacterLimit: 0 + m_OnEndEdit: + m_PersistentCalls: + m_Calls: [] + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] + m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_CustomCaretColor: 0 + m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} + m_Text: + m_CaretBlinkRate: 0.85 + m_CaretWidth: 1 + m_ReadOnly: 0 +--- !u!114 &875360909 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 875360906} + 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: 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: 10911, 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!222 &875360910 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 875360906} + m_CullTransparentMesh: 0 +--- !u!1 &1027187182 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1027187183} + - component: {fileID: 1027187184} + m_Layer: 5 + m_Name: Toggle + m_TagString: Finish + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1027187183 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1027187182} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.11524084, y: 0.11524084, z: 0.11524084} + m_Children: + - {fileID: 1832650744} + - {fileID: 1315799203} + m_Father: {fileID: 1751228919} + m_RootOrder: 4 + 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: -981.9, y: -525} + m_SizeDelta: {x: 160, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1027187184 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1027187182} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1832650745} + toggleTransition: 1 + graphic: {fileID: 1742429696} + m_Group: {fileID: 0} + onValueChanged: + m_PersistentCalls: + m_Calls: [] + m_IsOn: 1 +--- !u!1 &1038202471 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1038202472} + - component: {fileID: 1038202473} + - component: {fileID: 1038202474} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1038202472 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1038202471} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1045931137} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -0.5} + m_SizeDelta: {x: -20, y: -13} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1038202473 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1038202471} + m_CullTransparentMesh: 0 +--- !u!114 &1038202474 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1038202471} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 0 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!1 &1045931135 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1045931137} + - component: {fileID: 1045931139} + - component: {fileID: 1045931138} + - component: {fileID: 1045931136} + m_Layer: 5 + m_Name: InputField (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1045931136 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1045931135} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1045931138} + m_TextComponent: {fileID: 1038202474} + m_Placeholder: {fileID: 1286592857} + m_ContentType: 0 + m_InputType: 0 + m_AsteriskChar: 42 + m_KeyboardType: 0 + m_LineType: 0 + m_HideMobileInput: 0 + m_CharacterValidation: 0 + m_CharacterLimit: 0 + m_OnEndEdit: + m_PersistentCalls: + m_Calls: [] + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] + m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_CustomCaretColor: 0 + m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} + m_Text: + m_CaretBlinkRate: 0.85 + m_CaretWidth: 1 + m_ReadOnly: 0 +--- !u!224 &1045931137 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1045931135} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 302.61368} + m_LocalScale: {x: 0.0963092, y: 0.0963092, z: 0.0963092} + m_Children: + - {fileID: 1286592859} + - {fileID: 1038202472} + m_Father: {fileID: 1209871802} + 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.65319824, y: -3.7209473} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1045931138 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1045931135} + 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: 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: 10911, 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!222 &1045931139 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1045931135} + m_CullTransparentMesh: 0 +--- !u!1 &1075752812 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1075752813} + - component: {fileID: 1075752816} + - component: {fileID: 1075752815} + - component: {fileID: 1075752814} + m_Layer: 5 + m_Name: Button (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1075752813 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1075752812} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 302.61368} + m_LocalScale: {x: 0.09935486, y: 0.09935486, z: 0.09935486} + m_Children: + - {fileID: 1562029929} + m_Father: {fileID: 1209871802} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -0.5533447, y: -8.4210205} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1075752814 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1075752812} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1075752815} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 519420030} + m_TargetAssemblyTypeName: MapMaker, Assembly-CSharp + m_MethodName: StartMapMaker + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + - m_Target: {fileID: 1751228918} + m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine + m_MethodName: SetActive + m_Mode: 6 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 1 + m_CallState: 2 + - m_Target: {fileID: 1209871801} + m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine + m_MethodName: SetActive + m_Mode: 6 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &1075752815 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1075752812} + 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: 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: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1075752816 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1075752812} + m_CullTransparentMesh: 0 +--- !u!1 &1091495242 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1091495243} + - component: {fileID: 1091495245} + - component: {fileID: 1091495244} + m_Layer: 5 + m_Name: Placeholder + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1091495243 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1091495242} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1718697979} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -0.5} + m_SizeDelta: {x: -20, y: -13} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1091495244 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1091495242} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 2 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Res2 +--- !u!222 &1091495245 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1091495242} + m_CullTransparentMesh: 0 +--- !u!1 &1208140745 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1208140746} + - component: {fileID: 1208140748} + - component: {fileID: 1208140747} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1208140746 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1208140745} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1718697979} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -0.5} + m_SizeDelta: {x: -20, y: -13} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1208140747 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1208140745} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 0 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &1208140748 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1208140745} + m_CullTransparentMesh: 0 +--- !u!1 &1209871801 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1209871802} + m_Layer: 0 + m_Name: SelectSize + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1209871802 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1209871801} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -956.1467, y: -529.379, z: -302.61368} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1377457019} + - {fileID: 1045931137} + - {fileID: 1075752813} + m_Father: {fileID: 423554803} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1286592856 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1286592859} + - component: {fileID: 1286592858} + - component: {fileID: 1286592857} + m_Layer: 5 + m_Name: Placeholder + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1286592857 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1286592856} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 2 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Height +--- !u!222 &1286592858 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1286592856} + m_CullTransparentMesh: 0 +--- !u!224 &1286592859 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1286592856} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1045931137} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -0.5} + m_SizeDelta: {x: -20, y: -13} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1 &1315799202 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1315799203} + - component: {fileID: 1315799205} + - component: {fileID: 1315799204} + m_Layer: 5 + m_Name: Label + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1315799203 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1315799202} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1027187183} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 9, y: -0.5} + m_SizeDelta: {x: -28, y: -3} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1315799204 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1315799202} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: IsResource +--- !u!222 &1315799205 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1315799202} + m_CullTransparentMesh: 0 +--- !u!1 &1377457017 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1377457019} + - component: {fileID: 1377457021} + - component: {fileID: 1377457020} + - component: {fileID: 1377457018} + m_Layer: 5 + m_Name: InputField (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1377457018 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1377457017} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1377457020} + m_TextComponent: {fileID: 1953802630} + m_Placeholder: {fileID: 2101634288} + m_ContentType: 0 + m_InputType: 0 + m_AsteriskChar: 42 + m_KeyboardType: 0 + m_LineType: 0 + m_HideMobileInput: 0 + m_CharacterValidation: 0 + m_CharacterLimit: 0 + m_OnEndEdit: + m_PersistentCalls: + m_Calls: [] + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] + m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_CustomCaretColor: 0 + m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} + m_Text: + m_CaretBlinkRate: 0.85 + m_CaretWidth: 1 + m_ReadOnly: 0 +--- !u!224 &1377457019 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1377457017} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 302.61368} + m_LocalScale: {x: 0.0963092, y: 0.0963092, z: 0.0963092} + m_Children: + - {fileID: 2101634290} + - {fileID: 1953802628} + m_Father: {fileID: 1209871802} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -0.8532715, y: 0.27905273} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1377457020 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1377457017} + 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: 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: 10911, 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!222 &1377457021 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1377457017} + m_CullTransparentMesh: 0 +--- !u!1 &1559488833 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1559488834} + - component: {fileID: 1559488836} + - component: {fileID: 1559488835} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1559488834 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1559488833} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 875360907} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -0.5} + m_SizeDelta: {x: -20, y: -13} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1559488835 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1559488833} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 0 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!222 &1559488836 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1559488833} + m_CullTransparentMesh: 0 +--- !u!1 &1562029928 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1562029929} + - component: {fileID: 1562029931} + - component: {fileID: 1562029930} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1562029929 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1562029928} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1075752813} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1562029930 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1562029928} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Start +--- !u!222 &1562029931 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1562029928} + m_CullTransparentMesh: 0 +--- !u!1 &1679889962 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1679889965} + - component: {fileID: 1679889964} + - component: {fileID: 1679889963} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1679889963 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1679889962} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &1679889964 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1679889962} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!4 &1679889965 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1679889962} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1718697978 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1718697979} + - component: {fileID: 1718697982} + - component: {fileID: 1718697981} + - component: {fileID: 1718697980} + m_Layer: 5 + m_Name: InputField (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1718697979 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1718697978} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.0963092, y: 0.0963092, z: 0.0963092} + m_Children: + - {fileID: 1091495243} + - {fileID: 1208140746} + m_Father: {fileID: 1751228919} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -983.6, y: -533.1} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1718697980 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1718697978} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1718697981} + m_TextComponent: {fileID: 1208140747} + m_Placeholder: {fileID: 1091495244} + m_ContentType: 0 + m_InputType: 0 + m_AsteriskChar: 42 + m_KeyboardType: 0 + m_LineType: 0 + m_HideMobileInput: 0 + m_CharacterValidation: 0 + m_CharacterLimit: 0 + m_OnEndEdit: + m_PersistentCalls: + m_Calls: [] + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] + m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_CustomCaretColor: 0 + m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} + m_Text: + m_CaretBlinkRate: 0.85 + m_CaretWidth: 1 + m_ReadOnly: 0 +--- !u!114 &1718697981 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1718697978} + 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: 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: 10911, 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!222 &1718697982 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1718697978} + m_CullTransparentMesh: 0 +--- !u!1 &1742429694 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1742429695} + - component: {fileID: 1742429697} + - component: {fileID: 1742429696} + m_Layer: 5 + m_Name: Checkmark + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1742429695 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1742429694} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1832650744} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 20, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1742429696 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1742429694} + 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: 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: 10901, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1742429697 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1742429694} + m_CullTransparentMesh: 0 +--- !u!1 &1751228918 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1751228919} + m_Layer: 5 + m_Name: MapMaker + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1751228919 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1751228918} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 3071512293437574756} + - {fileID: 875360907} + - {fileID: 1718697979} + - {fileID: 1977979288} + - {fileID: 1027187183} + m_Father: {fileID: 423554803} + 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!1 &1832650743 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1832650744} + - component: {fileID: 1832650746} + - component: {fileID: 1832650745} + m_Layer: 5 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1832650744 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1832650743} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1742429695} + m_Father: {fileID: 1027187183} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 10, y: -10} + m_SizeDelta: {x: 20, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1832650745 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1832650743} + 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: 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: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1832650746 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1832650743} + m_CullTransparentMesh: 0 +--- !u!1 &1953802627 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1953802628} + - component: {fileID: 1953802629} + - component: {fileID: 1953802630} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1953802628 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1953802627} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1377457019} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -0.5} + m_SizeDelta: {x: -20, y: -13} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1953802629 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1953802627} + m_CullTransparentMesh: 0 +--- !u!114 &1953802630 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1953802627} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 0 + m_HorizontalOverflow: 1 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: +--- !u!1 &1977979287 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1977979288} + - component: {fileID: 1977979291} + - component: {fileID: 1977979290} + - component: {fileID: 1977979289} + m_Layer: 5 + m_Name: Button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1977979288 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1977979287} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.09935486, y: 0.09935486, z: 0.09935486} + m_Children: + - {fileID: 656879638} + m_Father: {fileID: 1751228919} + m_RootOrder: 3 + 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: -983.3, y: -537.8} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1977979289 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1977979287} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1977979290} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 519420030} + m_TargetAssemblyTypeName: MapMaker, Assembly-CSharp + m_MethodName: ExportMap + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &1977979290 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1977979287} + 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: 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: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1977979291 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1977979287} + m_CullTransparentMesh: 0 +--- !u!1 &2101634287 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2101634290} + - component: {fileID: 2101634289} + - component: {fileID: 2101634288} + m_Layer: 5 + m_Name: Placeholder + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2101634288 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2101634287} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 2 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Width +--- !u!222 &2101634289 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2101634287} + m_CullTransparentMesh: 0 +--- !u!224 &2101634290 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2101634287} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1377457019} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: -0.5} + m_SizeDelta: {x: -20, y: -13} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1001 &1850880819389786273 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1751228919} + m_Modifications: + - target: {fileID: 1850880820349203026, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: isRes + value: + objectReference: {fileID: 1027187184} + - target: {fileID: 1850880820349203026, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: MapMaker + value: + objectReference: {fileID: 519420030} + - target: {fileID: 1850880820349203027, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_Name + value: CellMaker + objectReference: {fileID: 0} + - target: {fileID: 1850880820349203027, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_AnchoredPosition.x + value: -957 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_AnchoredPosition.y + value: -541 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_SizeDelta.x + value: 40 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_SizeDelta.y + value: 40 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: e41e35146487f2441b776430daa93435, type: 3} +--- !u!224 &3071512293437574756 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 3679320382081885893, guid: e41e35146487f2441b776430daa93435, type: 3} + m_PrefabInstance: {fileID: 1850880819389786273} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Scripts/Map/GameManager.cs b/Assets/Scripts/Map/GameManager.cs index 93e3014..bf40c9d 100644 --- a/Assets/Scripts/Map/GameManager.cs +++ b/Assets/Scripts/Map/GameManager.cs @@ -25,16 +25,16 @@ public class GameManager : MonoBehaviour public int haight; private List Temps = new List(); private Hashtable AntsTable = new Hashtable(); - [SerializeField]private TextMeshProUGUI team0_alive_workers; - [SerializeField]private TextMeshProUGUI team0_alive_soldiers; - [SerializeField]private TextMeshProUGUI team0_total_resource0; - [SerializeField]private TextMeshProUGUI team0_total_resource1; - [SerializeField]private TextMeshProUGUI team1_alive_workers; - [SerializeField]private TextMeshProUGUI team1_alive_soldiers; - [SerializeField]private TextMeshProUGUI team1_total_resource0; - [SerializeField]private TextMeshProUGUI team1_total_resource1; - [SerializeField]private TextMeshProUGUI team0_name; - [SerializeField]private TextMeshProUGUI team1_name; + [SerializeField] private TextMeshProUGUI team0_alive_workers; + [SerializeField] private TextMeshProUGUI team0_alive_soldiers; + [SerializeField] private TextMeshProUGUI team0_total_resource0; + [SerializeField] private TextMeshProUGUI team0_total_resource1; + [SerializeField] private TextMeshProUGUI team1_alive_workers; + [SerializeField] private TextMeshProUGUI team1_alive_soldiers; + [SerializeField] private TextMeshProUGUI team1_total_resource0; + [SerializeField] private TextMeshProUGUI team1_total_resource1; + [SerializeField] private TextMeshProUGUI team0_name; + [SerializeField] private TextMeshProUGUI team1_name; public int MaxTurns { get; private set; } private float baseTime; [HideInInspector] private bool playAnime; @@ -108,12 +108,12 @@ private void ApplyTurnUnAnim(Turn turn) AntsTable.Clear(); foreach (Ant ant in turn.Ants) { - int numbers = Mathf.NextPowerOfTwo(turn.CellAnts[ant.Row][ant.Col].Count); + int numbers = (int) Mathf.Pow(Mathf.Ceil(Mathf.Pow(turn.CellAnts[ant.Row][ant.Col].Count, 0.5f)), 2); int n = turn.CellAnts[ant.Row][ant.Col].IndexOf(ant.Id) + 1; GameObject antObject = Instantiate(antPrefab); AntScript antScript = antObject.GetComponent(); antScript.SetMaxHealth(ant.Type == Ant.WORKER ? gameLog.Map.WorkerHealth : gameLog.Map.SoldierHealth); - antScript.Set(ant.Row, ant.Col, ant.Team, ant.Type, ant.Health, ant.Resource,ant.Id,numbers,n); + antScript.Set(ant.Row, ant.Col, ant.Team, ant.Type, ant.Health, ant.Resource, ant.Id, numbers, n); AntsTable.Add(ant.Id, antObject); } } @@ -173,7 +173,7 @@ private IEnumerator ApplyTurnAnim(Turn turn) //new ants Ant antObject = (Ant) antDE.Value; GameObject ant; - int numbers = Mathf.NextPowerOfTwo(turn.CellAnts[antObject.Row][antObject.Col].Count); + int numbers = (int) Mathf.Pow(Mathf.Ceil(Mathf.Pow(turn.CellAnts[antObject.Row][antObject.Col].Count, 0.5f)), 2); int n = turn.CellAnts[antObject.Row][antObject.Col].IndexOf(antObject.Id) + 1; ant = Instantiate(antPrefab); AntScript antScript = ant.GetComponent(); @@ -181,7 +181,7 @@ private IEnumerator ApplyTurnAnim(Turn turn) ? gameLog.Map.WorkerHealth : gameLog.Map.SoldierHealth); antScript.Set(antObject.Row, antObject.Col, antObject.Team, antObject.Type, - antObject.Health, antObject.Resource,antObject.Id,numbers,n); + antObject.Health, antObject.Resource, antObject.Id, numbers, n); AntsTable.Add(antObject.Id, ant); } @@ -201,7 +201,7 @@ private IEnumerator ApplyTurnAnim(Turn turn) // Debug.Log("end phase1"); - yield return new WaitForSecondsRealtime((baseTime / 2)*UIManager.Instance.Speed); + yield return new WaitForSecondsRealtime((baseTime / 2) * UIManager.Instance.Speed); if (playAnime) { //move ants time @@ -209,11 +209,11 @@ private IEnumerator ApplyTurnAnim(Turn turn) foreach (DictionaryEntry antDE in MovingAnts) { Ant ant = (Ant) antDE.Value; - int numbers = Mathf.NextPowerOfTwo(turn.CellAnts[ant.Row][ant.Col].Count); + int numbers = (int) Mathf.Pow(Mathf.Ceil(Mathf.Pow(turn.CellAnts[ant.Row][ant.Col].Count, 0.5f)), 2); int n = turn.CellAnts[ant.Row][ant.Col].IndexOf(ant.Id) + 1; GameObject antScript = (GameObject) antDE.Key; StartCoroutine(antScript.GetComponent() - .Go(ant.Row, ant.Col, ant.Health, ant.Resource, baseTime / 2,numbers,n)); + .Go(ant.Row, ant.Col, ant.Health, ant.Resource, baseTime / 2, numbers, n)); } // Debug.Log("end phase2"); diff --git a/Assets/Scripts/MapMaker.meta b/Assets/Scripts/MapMaker.meta new file mode 100644 index 0000000..f2037ae --- /dev/null +++ b/Assets/Scripts/MapMaker.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 91306ddbe9944551b5a50be240d1bfd9 +timeCreated: 1616666815 \ No newline at end of file diff --git a/Assets/Scripts/MapMaker/CellTypeMake.cs b/Assets/Scripts/MapMaker/CellTypeMake.cs new file mode 100644 index 0000000..02023af --- /dev/null +++ b/Assets/Scripts/MapMaker/CellTypeMake.cs @@ -0,0 +1,79 @@ +using System; +using UnityEngine; +using UnityEngine.UI; + +[System.Serializable] +public class CellTypeMake : MonoBehaviour +{ + private Image Sprite; + [SerializeField] private Toggle isRes; + public MapMaker MapMaker; + [SerializeField] private Sprite wall; + [SerializeField] private Sprite empty; + [SerializeField] private Sprite base1; + [SerializeField] private Sprite base2; + [HideInInspector] public int row; + [HideInInspector] public int col; + [HideInInspector] public int cell_type; + [HideInInspector] public int rec1; + [HideInInspector] public int rec2; + public Text res1Text; + public Text res2Text; + + private void Awake() + { + Sprite = gameObject.GetComponent(); + isRes = GameObject.FindWithTag("Finish").GetComponent(); + MapMaker = GameObject.FindWithTag("MainCamera").GetComponent(); + } + + public void SetCellTypeMake( + int row, + int col, + int cell_type, + int rec1, + int rec2 + ) + { + this.row = row; + this.col = col; + this.cell_type = cell_type; + this.rec1 = rec1; + this.rec2 = rec2; + transform.position = new Vector3(col * 2, -row * 2, 1); + } + + public void OnClick() + { + if (!isRes.isOn) + { + Vector2 sizeTemp = new Vector2(); + switch (cell_type) + { + case 0: + cell_type = 1; + Sprite.sprite = base2; + break; + case 1: + cell_type = 2; + Sprite.sprite = empty; + break; + case 2: + cell_type = 3; + Debug.Log("case 2"); + Sprite.sprite = wall; + break; + case 3: + cell_type = 0; + Sprite.sprite = base1; + break; + } + + MapMaker.changeCell(row, col, cell_type); + } + else + { + MapMaker.setRes(row, col, this.gameObject); + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/MapMaker/CellTypeMake.cs.meta b/Assets/Scripts/MapMaker/CellTypeMake.cs.meta new file mode 100644 index 0000000..dc0b062 --- /dev/null +++ b/Assets/Scripts/MapMaker/CellTypeMake.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: c0314c57b12443d4acd258ad05e03874 +timeCreated: 1616664744 \ No newline at end of file diff --git a/Assets/Scripts/MapMaker/CellTypeMakeJson.cs b/Assets/Scripts/MapMaker/CellTypeMakeJson.cs new file mode 100644 index 0000000..cda1d17 --- /dev/null +++ b/Assets/Scripts/MapMaker/CellTypeMakeJson.cs @@ -0,0 +1,27 @@ +using System; +using UnityEngine; +using UnityEngine.UI; + +[System.Serializable] +public class CellTypeMakeJson +{ + public int row; + public int col; + public int cell_type; + public int rec1; + public int rec2; + public CellTypeMakeJson( + int row, + int col, + int cell_type, + int rec1, + int rec2 + ) + { + this.row = row; + this.col = col; + this.cell_type = cell_type; + this.rec1 = rec1; + this.rec2 = rec2; + } +} \ No newline at end of file diff --git a/Assets/Scripts/MapMaker/CellTypeMakeJson.cs.meta b/Assets/Scripts/MapMaker/CellTypeMakeJson.cs.meta new file mode 100644 index 0000000..2cdb75c --- /dev/null +++ b/Assets/Scripts/MapMaker/CellTypeMakeJson.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: f300435fe5054ba9a3498e5b950c2da9 +timeCreated: 1616711671 \ No newline at end of file diff --git a/Assets/Scripts/MapMaker/GameConfigMake.cs b/Assets/Scripts/MapMaker/GameConfigMake.cs new file mode 100644 index 0000000..fe724fb --- /dev/null +++ b/Assets/Scripts/MapMaker/GameConfigMake.cs @@ -0,0 +1,5 @@ +[System.Serializable] +public class GameConfigMake +{ + public CellTypeMakeJson[] cells_type; +} diff --git a/Assets/Scripts/MapMaker/GameConfigMake.cs.meta b/Assets/Scripts/MapMaker/GameConfigMake.cs.meta new file mode 100644 index 0000000..8661986 --- /dev/null +++ b/Assets/Scripts/MapMaker/GameConfigMake.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: f31a94f2a9e24c188cbc3e5a6b2deca2 +timeCreated: 1616664744 \ No newline at end of file diff --git a/Assets/Scripts/MapMaker/MapMaker.cs b/Assets/Scripts/MapMaker/MapMaker.cs new file mode 100644 index 0000000..04206ac --- /dev/null +++ b/Assets/Scripts/MapMaker/MapMaker.cs @@ -0,0 +1,190 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using UnityEngine; +using UnityEngine.UI; +using UnityEngine.Windows; + +public class MapMaker : MonoBehaviour +{ + [SerializeField] private InputField res1Input; + [SerializeField] private InputField res2Input; + [SerializeField] private InputField widthInput; + [SerializeField] private InputField heightInput; + [SerializeField] private Canvas canvas; + private int width; + private int height; + [SerializeField] private GameObject cell; + [SerializeField] private GameObject res1Prefab; + [SerializeField] private GameObject res2Prefab; + int[][] map = new int[0][]; + int[][] res1 = new int[21][]; + int[][] res2 = new int[21][]; + GameObject[][] Cells = new GameObject[0][]; + + + // Start is called before the first frame update + void Start() + { + // int[][] map = new int[21][]; + // map[0] = new[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}; + // map[0] = new[] {3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}; + // map[1] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[2] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[3] = new[] {3, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 3}; + // map[4] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[5] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[6] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[7] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[8] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[9] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[10] = new[] {3, 2, 2, 2, 0, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 1, 2, 2, 3}; + // map[11] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[12] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[13] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[14] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[15] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[16] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[17] = new[] {3, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 3}; + // map[18] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[19] = new[] {3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3}; + // map[20] = new[] {3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3}; + // int[][] res1 = new int[21][]; + // + // res1[0] = new[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}; + // res1[0] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[1] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[2] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[3] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[4] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[5] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[6] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[7] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[8] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[9] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[10] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[11] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[12] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[13] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[14] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[15] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[16] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[17] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[18] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[19] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res1[20] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // int[][] res2 = new int[21][]; + // res2[0] = new[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}; + // res2[0] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[1] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[2] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[3] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[4] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[5] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[6] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[7] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[8] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[9] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[10] = new[] {0, 10, 0, 0, 0, 0, 0, 0, 0, 12, 0, 12, 0, 0, 0, 0, 0, 0, 0, 10, 0}; + // res2[11] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[12] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[13] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[14] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[15] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[16] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[17] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[18] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[19] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // res2[20] = new[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + // CellTypeMake[] cellTypeMake = new CellTypeMake [21 * 21]; + // for (int i = 0; i < 21; i++) + // { + // for (int j = 0; j < 21; j++) + // { + // cellTypeMake[i * 21 + j] = new CellTypeMake(i, j, map[i][j], res1[i][j], res2[i][j]); + // } + // } + // + // GameConfigMake gameConfigMake = new GameConfigMake(); + // gameConfigMake.cells_type = cellTypeMake; + // string json = JsonUtility.ToJson(gameConfigMake); + // Debug.Log(json); + + } + + public void changeCell(int row, int col, int type) + { + map[col][row] = type; + } + + public void setRes(int row, int col, GameObject cell) + { + int res1Amount = 0; + int res2Amount = 0; + try + { + res1Amount = Convert.ToInt32(res1Input.text); + res2Amount = Convert.ToInt32(res2Input.text); + } + catch (Exception e) + { + } + + res1[row][col] = res1Amount; + res2[row][col] = res2Amount; + cell.GetComponent().res1Text.text = res1Amount.ToString(); + cell.GetComponent().res2Text.text = res2Amount.ToString(); + } + + public void ExportMap() + { + CellTypeMakeJson[] cellTypeMake = new CellTypeMakeJson [width * height]; + for (int i = 0; i < height; i++) + { + for (int j = 0; j < width; j++) + { + cellTypeMake[i * width + j] = new CellTypeMakeJson(i,j, map[i][j], res1[i][j], res2[i][j]); + } + } + + GameConfigMake gameConfigMake = new GameConfigMake(); + gameConfigMake.cells_type = cellTypeMake; + string json = JsonUtility.ToJson(gameConfigMake); + Debug.Log(json); + StreamWriter writer = new StreamWriter("map1.json", false); + writer.Write(json); + writer.Close(); + } + + public void StartMapMaker() + { + width = Convert.ToInt32(widthInput.text); + height = Convert.ToInt32(heightInput.text); + map = new int[height][]; + res1 = new int[height][]; + res2 = new int[height][]; + Cells = new GameObject[height][]; + for (int i = 0; i < height; i++) + { + map[i] = new int[width]; + res1[i] = new int[width]; + res2[i] = new int[width]; + Cells[i] = new GameObject[width]; + for (int j = 0; j < width; j++) + { + map[i][j] = 2; + GameObject cellObj = Instantiate(cell); + cellObj.GetComponent().SetCellTypeMake(j, i, 2, 0, 0); + cellObj.transform.SetParent(canvas.transform); + cellObj.transform.position = new Vector3(j * 4, -i * 4); + Cells[i][j] = cellObj; + } + } + } + + // Update is called once per frame + void Update() + { + } +} \ No newline at end of file diff --git a/Assets/Scripts/MapMaker/MapMaker.cs.meta b/Assets/Scripts/MapMaker/MapMaker.cs.meta new file mode 100644 index 0000000..ad01c6a --- /dev/null +++ b/Assets/Scripts/MapMaker/MapMaker.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a43ee5b6d98125248a40f87f3f6d3196 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/MapMaker/map1.config b/Assets/Scripts/MapMaker/map1.config new file mode 100644 index 0000000..15cd5fc --- /dev/null +++ b/Assets/Scripts/MapMaker/map1.config @@ -0,0 +1,21 @@ +# Map Details +WORKER_ANT_INITIAL_HEALTH = 2 +SOLDIER_ANT_INITIAL_HEALTH = 3 +COLONY_INITIAL_BREAD = 0 +COLONY_INITIAL_GRASS = 0 +GENERATE_WORKER_BREAD_AMOUNT = 1 +GENERATE_SOLDIER_GRASS_AMOUNT = 2 +ANT_MAX_VIEW_DISTANCE = 4 +ANT_MAX_ATTACK_DISTANCE = 3 +ANT_ATTACK_DAMAGE = 1 +CHAT_LIMIT = 5 +MAX_MESSAGE_LENGTH = 24 +GAME_MAXIMUM_TURN_COUNT = 150 +RATE_DEATH_RESOURCE = 0.8 +MAP_WIDTH = 21 +MAP_HEIGHT = 21 +BASE_MAX_ATTACK_DISTANCE = 6 +BASE_ATTACK_DAMAGE = 2 +BASE_INIT_HEALTH = 20 +# should be divisable by 4 +INIT_ANTS_NUM = 4 \ No newline at end of file diff --git a/Assets/Scripts/MapMaker/map1.json b/Assets/Scripts/MapMaker/map1.json new file mode 100644 index 0000000..23eb940 --- /dev/null +++ b/Assets/Scripts/MapMaker/map1.json @@ -0,0 +1 @@ +{"cells_type":[{"row":0,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":1,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":2,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":3,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":4,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":5,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":6,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":7,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":9,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":10,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":11,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":13,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":14,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":15,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":16,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":17,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":18,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":19,"cell_type":3,"rec1":0,"rec2":0},{"row":0,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":1,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":1,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":8,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":9,"cell_type":2,"rec1":10,"rec2":0},{"row":1,"col":10,"cell_type":2,"rec1":0,"rec2":20},{"row":1,"col":11,"cell_type":2,"rec1":10,"rec2":0},{"row":1,"col":12,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":1,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":2,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":2,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":8,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":10,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":12,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":2,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":3,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":3,"col":3,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":4,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":5,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":6,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":7,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":3,"col":10,"cell_type":2,"rec1":0,"rec2":0},{"row":3,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":3,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":13,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":14,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":15,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":16,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":17,"cell_type":3,"rec1":0,"rec2":0},{"row":3,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":3,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":3,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":4,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":4,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":4,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":10,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":4,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":4,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":5,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":5,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":5,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":10,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":5,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":5,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":6,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":6,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":6,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":10,"cell_type":2,"rec1":0,"rec2":20},{"row":6,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":6,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":6,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":7,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":7,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":7,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":10,"cell_type":2,"rec1":20,"rec2":0},{"row":7,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":7,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":7,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":8,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":8,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":8,"col":9,"cell_type":3,"rec1":0,"rec2":0},{"row":8,"col":10,"cell_type":3,"rec1":0,"rec2":0},{"row":8,"col":11,"cell_type":3,"rec1":0,"rec2":0},{"row":8,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":8,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":8,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":9,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":9,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":8,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":10,"cell_type":3,"rec1":0,"rec2":0},{"row":9,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":12,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":9,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":10,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":10,"col":1,"cell_type":2,"rec1":0,"rec2":10},{"row":10,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":4,"cell_type":0,"rec1":0,"rec2":0},{"row":10,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":8,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":9,"cell_type":2,"rec1":0,"rec2":12},{"row":10,"col":10,"cell_type":3,"rec1":0,"rec2":0},{"row":10,"col":11,"cell_type":2,"rec1":0,"rec2":12},{"row":10,"col":12,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":17,"cell_type":1,"rec1":0,"rec2":0},{"row":10,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":10,"col":19,"cell_type":2,"rec1":0,"rec2":10},{"row":10,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":11,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":11,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":8,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":10,"cell_type":3,"rec1":0,"rec2":0},{"row":11,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":12,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":11,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":12,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":12,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":12,"col":9,"cell_type":3,"rec1":0,"rec2":0},{"row":12,"col":10,"cell_type":3,"rec1":0,"rec2":0},{"row":12,"col":11,"cell_type":3,"rec1":0,"rec2":0},{"row":12,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":12,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":12,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":13,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":13,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":13,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":10,"cell_type":2,"rec1":20,"rec2":0},{"row":13,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":13,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":13,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":14,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":14,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":14,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":10,"cell_type":2,"rec1":0,"rec2":20},{"row":14,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":14,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":14,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":15,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":15,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":15,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":10,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":15,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":15,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":16,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":16,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":16,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":10,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":16,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":16,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":17,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":17,"col":3,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":4,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":5,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":6,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":7,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":17,"col":10,"cell_type":2,"rec1":0,"rec2":0},{"row":17,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":17,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":13,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":14,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":15,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":16,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":17,"cell_type":3,"rec1":0,"rec2":0},{"row":17,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":17,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":17,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":18,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":18,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":8,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":9,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":10,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":11,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":12,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":18,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":19,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":19,"col":1,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":2,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":3,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":4,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":5,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":6,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":7,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":8,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":9,"cell_type":2,"rec1":10,"rec2":0},{"row":19,"col":10,"cell_type":2,"rec1":0,"rec2":20},{"row":19,"col":11,"cell_type":2,"rec1":10,"rec2":0},{"row":19,"col":12,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":13,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":14,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":15,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":16,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":17,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":18,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":19,"cell_type":2,"rec1":0,"rec2":0},{"row":19,"col":20,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":0,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":1,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":2,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":3,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":4,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":5,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":6,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":7,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":8,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":9,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":10,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":11,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":12,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":13,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":14,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":15,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":16,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":17,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":18,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":19,"cell_type":3,"rec1":0,"rec2":0},{"row":20,"col":20,"cell_type":3,"rec1":0,"rec2":0}]} \ No newline at end of file diff --git a/Assets/StandaloneFileBrowser/Sample/CanvasSampleOpenFileText.cs b/Assets/StandaloneFileBrowser/Sample/CanvasSampleOpenFileText.cs index c6ea783..180b021 100644 --- a/Assets/StandaloneFileBrowser/Sample/CanvasSampleOpenFileText.cs +++ b/Assets/StandaloneFileBrowser/Sample/CanvasSampleOpenFileText.cs @@ -32,8 +32,11 @@ public void OnFileUpload(string url) { // public void OnPointerDown(PointerEventData eventData) { } - void Start() + void Start() { + float a = Mathf.Ceil(Mathf.Pow(2, 0.5f)) +1; + Debug.Log(a); + Debug.Log(Mathf.Pow(a,2)); var button = GetComponent