diff --git a/Assets/Polkadot Unity SDK/DemoGame/Scripts/GridManager.cs b/Assets/Polkadot Unity SDK/DemoGame/Scripts/GridManager.cs index b2c2808..c67be95 100644 --- a/Assets/Polkadot Unity SDK/DemoGame/Scripts/GridManager.cs +++ b/Assets/Polkadot Unity SDK/DemoGame/Scripts/GridManager.cs @@ -21,6 +21,10 @@ public class GridManager : Singleton public event SwipeHandler OnSwipeEvent; + public delegate void DragHandler(Vector3 positionDiff); + + public event DragHandler OnDragEvent; + [SerializeField] public GameObject PlayerGrid; @@ -58,6 +62,12 @@ public class GridManager : Singleton private Vector2 touchEnd; + private Vector2 dragPosition; + + private float dragSpeed = 60f; + + private bool isDraging = false; + private bool isSwiping; public float swipeThreshold = 50f; // Minimum distance for a swipe @@ -128,6 +138,30 @@ private void HandleInput(TouchPhase phase, Vector2 position) } break; } + // camera drag movement + switch (phase) + { + case TouchPhase.Began: + if (!isPointerOverUI && !isDraging) + { + dragPosition = position; + isDraging = true; + } + break; + + case TouchPhase.Moved: + if (isDraging) + { + var positionDiff = new Vector3(dragPosition.x - position.x, dragPosition.y - position.y, 0.0f); + dragPosition = position; + OnDragEvent?.Invoke(positionDiff / dragSpeed); + } + break; + + case TouchPhase.Ended: + isDraging = false; + break; + } } public void OnZoomClicked() diff --git a/Assets/Polkadot Unity SDK/DemoGame/Scripts/ScreenStates/PlayScreenState.cs b/Assets/Polkadot Unity SDK/DemoGame/Scripts/ScreenStates/PlayScreenState.cs index d839745..cfebb2c 100644 --- a/Assets/Polkadot Unity SDK/DemoGame/Scripts/ScreenStates/PlayScreenState.cs +++ b/Assets/Polkadot Unity SDK/DemoGame/Scripts/ScreenStates/PlayScreenState.cs @@ -162,7 +162,7 @@ public override void EnterState() OnChangedHexaPlayer(Storage.HexaGame.HexaTuples[PlayerIndex].player); OnChangedHexaBoard(Storage.HexaGame.HexaTuples[PlayerIndex].board); - Grid.OnSwipeEvent += OnSwipeEvent; + Grid.OnDragEvent += OnDragEvent; Storage.OnChangedHexaBoard += OnChangedHexaBoard; Storage.OnChangedHexaPlayer += OnChangedHexaPlayer; @@ -181,7 +181,7 @@ public override void ExitState() // remove container FlowController.VelContainer.RemoveAt(1); - Grid.OnSwipeEvent -= OnSwipeEvent; + Grid.OnDragEvent -= OnDragEvent; Storage.OnChangedHexaBoard -= OnChangedHexaBoard; Storage.OnChangedHexaPlayer -= OnChangedHexaPlayer; @@ -193,7 +193,7 @@ public override void ExitState() Storage.OnNextBlocknumber -= OnNextBlockNumber; } - private void OnSwipeEvent(Vector3 direction) + private void OnDragEvent(Vector3 direction) { Grid.MoveCamera(direction); } diff --git a/UserSettings/Layouts/default-2022.dwlt b/UserSettings/Layouts/default-2022.dwlt index c324cd9..b61ed65 100644 --- a/UserSettings/Layouts/default-2022.dwlt +++ b/UserSettings/Layouts/default-2022.dwlt @@ -14,17 +14,43 @@ MonoBehaviour: m_EditorClassIdentifier: m_PixelRect: serializedVersion: 2 - x: 61 - y: 58 - width: 2023 - height: 1333 + x: 0 + y: 42.285717 + width: 1462.8572 + height: 740.5715 m_ShowMode: 4 - m_Title: Project - m_RootView: {fileID: 2} + m_Title: Simulator + m_RootView: {fileID: 3} m_MinSize: {x: 875, y: 321} m_MaxSize: {x: 10000, y: 10000} - m_Maximized: 0 + m_Maximized: 1 --- !u!114 &2 +MonoBehaviour: + m_ObjectHideFlags: 52 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} + m_Name: SimulatorWindow + m_EditorClassIdentifier: + m_Children: [] + m_Position: + serializedVersion: 2 + x: 833.7143 + y: 0 + width: 271.99994 + height: 426.2857 + m_MinSize: {x: 202, y: 221} + m_MaxSize: {x: 4002, y: 4021} + m_ActualView: {fileID: 13} + m_Panes: + - {fileID: 13} + m_Selected: 0 + m_LastSelected: 0 +--- !u!114 &3 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -37,22 +63,22 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 3} - - {fileID: 5} - {fileID: 4} + - {fileID: 6} + - {fileID: 5} m_Position: serializedVersion: 2 x: 0 y: 0 - width: 2023 - height: 1333 + width: 1462.8572 + height: 740.5715 m_MinSize: {x: 875, y: 300} m_MaxSize: {x: 10000, y: 10000} m_UseTopView: 1 m_TopViewHeight: 30 m_UseBottomView: 1 m_BottomViewHeight: 20 ---- !u!114 &3 +--- !u!114 &4 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -69,12 +95,12 @@ MonoBehaviour: serializedVersion: 2 x: 0 y: 0 - width: 2023 + width: 1462.8572 height: 30 m_MinSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0} m_LastLoadedLayoutName: ---- !u!114 &4 +--- !u!114 &5 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -90,12 +116,12 @@ MonoBehaviour: m_Position: serializedVersion: 2 x: 0 - y: 1313 - width: 2023 + y: 720.5715 + width: 1462.8572 height: 20 m_MinSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0} ---- !u!114 &5 +--- !u!114 &6 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -108,19 +134,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 6} - - {fileID: 11} + - {fileID: 7} + - {fileID: 12} m_Position: serializedVersion: 2 x: 0 y: 30 - width: 2023 - height: 1283 - m_MinSize: {x: 300, y: 100} - m_MaxSize: {x: 24288, y: 16192} + width: 1462.8572 + height: 690.5715 + m_MinSize: {x: 400, y: 100} + m_MaxSize: {x: 32384, y: 16192} vertical: 0 - controlID: 80 ---- !u!114 &6 + controlID: 1649 +--- !u!114 &7 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -133,19 +159,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 7} - - {fileID: 10} + - {fileID: 8} + - {fileID: 11} m_Position: serializedVersion: 2 x: 0 y: 0 - width: 1529 - height: 1283 - m_MinSize: {x: 200, y: 100} - m_MaxSize: {x: 16192, y: 16192} + width: 1105.7142 + height: 690.5715 + m_MinSize: {x: 300, y: 100} + m_MaxSize: {x: 24288, y: 16192} vertical: 1 - controlID: 38 ---- !u!114 &7 + controlID: 1650 +--- !u!114 &8 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -158,19 +184,20 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 8} - {fileID: 9} + - {fileID: 10} + - {fileID: 2} m_Position: serializedVersion: 2 x: 0 y: 0 - width: 1529 - height: 794 - m_MinSize: {x: 200, y: 50} - m_MaxSize: {x: 16192, y: 8096} + width: 1105.7142 + height: 426.2857 + m_MinSize: {x: 300, y: 50} + m_MaxSize: {x: 24288, y: 8096} vertical: 0 - controlID: 39 ---- !u!114 &8 + controlID: 1651 +--- !u!114 &9 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -187,8 +214,8 @@ MonoBehaviour: serializedVersion: 2 x: 0 y: 0 - width: 230 - height: 794 + width: 288.57144 + height: 426.2857 m_MinSize: {x: 200, y: 200} m_MaxSize: {x: 4000, y: 4000} m_ActualView: {fileID: 14} @@ -196,7 +223,7 @@ MonoBehaviour: - {fileID: 14} m_Selected: 0 m_LastSelected: 0 ---- !u!114 &9 +--- !u!114 &10 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -206,26 +233,24 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 1 m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} - m_Name: GameView + m_Name: SceneView m_EditorClassIdentifier: m_Children: [] m_Position: serializedVersion: 2 - x: 230 + x: 288.57144 y: 0 - width: 1299 - height: 794 - m_MinSize: {x: 100, y: 100} + width: 545.1428 + height: 426.2857 + m_MinSize: {x: 200, y: 200} m_MaxSize: {x: 4000, y: 4000} - m_ActualView: {fileID: 12} + m_ActualView: {fileID: 15} m_Panes: - {fileID: 15} - {fileID: 16} - - {fileID: 13} - - {fileID: 12} - m_Selected: 3 - m_LastSelected: 3 ---- !u!114 &10 + m_Selected: 0 + m_LastSelected: 1 +--- !u!114 &11 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -235,24 +260,24 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 1 m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} - m_Name: ProjectBrowser + m_Name: ConsoleWindow m_EditorClassIdentifier: m_Children: [] m_Position: serializedVersion: 2 x: 0 - y: 794 - width: 1529 - height: 489 - m_MinSize: {x: 231, y: 271} - m_MaxSize: {x: 10001, y: 10021} - m_ActualView: {fileID: 17} + y: 426.2857 + width: 1105.7142 + height: 264.28577 + m_MinSize: {x: 100, y: 100} + m_MaxSize: {x: 4000, y: 4000} + m_ActualView: {fileID: 18} m_Panes: - {fileID: 17} - {fileID: 18} - m_Selected: 0 - m_LastSelected: 1 ---- !u!114 &11 + m_Selected: 1 + m_LastSelected: 0 +--- !u!114 &12 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -262,15 +287,15 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 1 m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} - m_Name: + m_Name: InspectorWindow m_EditorClassIdentifier: m_Children: [] m_Position: serializedVersion: 2 - x: 1529 + x: 1105.7142 y: 0 - width: 494 - height: 1283 + width: 357.14294 + height: 690.5715 m_MinSize: {x: 275, y: 50} m_MaxSize: {x: 4000, y: 4000} m_ActualView: {fileID: 19} @@ -278,7 +303,7 @@ MonoBehaviour: - {fileID: 19} m_Selected: 0 m_LastSelected: 0 ---- !u!114 &12 +--- !u!114 &13 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -287,21 +312,21 @@ MonoBehaviour: m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0} + m_Script: {fileID: 13974, guid: 0000000000000000e000000000000000, type: 0} m_Name: m_EditorClassIdentifier: - m_MinSize: {x: 100, y: 100} + m_MinSize: {x: 200, y: 200} m_MaxSize: {x: 4000, y: 4000} m_TitleContent: - m_Text: Game - m_Image: {fileID: -6423792434712278376, guid: 0000000000000000d000000000000000, type: 0} + m_Text: Simulator + m_Image: {fileID: 3038311277492192215, guid: 0000000000000000d000000000000000, type: 0} m_Tooltip: m_Pos: serializedVersion: 2 - x: 291 - y: 88 - width: 1297 - height: 773 + x: 833.7143 + y: 72.571434 + width: 269.99994 + height: 405.2857 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0 @@ -313,105 +338,37 @@ MonoBehaviour: m_SaveData: [] m_OverlaysVisible: 1 m_SerializedViewNames: - - UnityEditor.DeviceSimulation.SimulatorWindow + - UnityEditor.GameView m_SerializedViewValues: - - D:\repos\API AND SDK\Substrate.Hexalem.Unity\Library\PlayModeViewStates\70674d7b19a65ec428412685cf2d3e7c - m_PlayModeViewName: GameView + - C:\Users\cisar\Documents\GitHub\Hexalem\Substrate.Hexalem.Unity\Library\PlayModeViewStates\9b468096b11031447a26ad580c6a895e + m_PlayModeViewName: Device Simulator m_ShowGizmos: 0 m_TargetDisplay: 0 - m_ClearColor: {r: 0, g: 0, b: 0, a: 0} - m_TargetSize: {x: 1297, y: 752} + m_ClearColor: {r: 0, g: 0, b: 0, a: 1} + m_TargetSize: {x: 1170, y: 2532} m_TextureFilterMode: 0 m_TextureHideFlags: 61 m_RenderIMGUI: 1 m_EnterPlayModeBehavior: 2 m_UseMipMap: 0 - m_VSyncEnabled: 0 - m_Gizmos: 0 - m_Stats: 0 - m_SelectedSizes: 00000000000000000000000005000000000000000000000000000000000000000000000000000000 - m_ZoomArea: - m_HRangeLocked: 0 - m_VRangeLocked: 0 - hZoomLockedByDefault: 0 - vZoomLockedByDefault: 0 - m_HBaseRangeMin: -648.5 - m_HBaseRangeMax: 648.5 - m_VBaseRangeMin: -376 - m_VBaseRangeMax: 376 - m_HAllowExceedBaseRangeMin: 1 - m_HAllowExceedBaseRangeMax: 1 - m_VAllowExceedBaseRangeMin: 1 - m_VAllowExceedBaseRangeMax: 1 - m_ScaleWithWindow: 0 - m_HSlider: 0 - m_VSlider: 0 - m_IgnoreScrollWheelUntilClicked: 0 - m_EnableMouseInput: 1 - m_EnableSliderZoomHorizontal: 0 - m_EnableSliderZoomVertical: 0 - m_UniformScale: 1 - m_UpDirection: 1 - m_DrawArea: - serializedVersion: 2 - x: 0 - y: 21 - width: 1297 - height: 752 - m_Scale: {x: 1, y: 1} - m_Translation: {x: 648.5, y: 376} - m_MarginLeft: 0 - m_MarginRight: 0 - m_MarginTop: 0 - m_MarginBottom: 0 - m_LastShownAreaInsideMargins: - serializedVersion: 2 - x: -648.5 - y: -376 - width: 1297 - height: 752 - m_MinimalGUI: 1 - m_defaultScale: 1 - m_LastWindowPixelSize: {x: 1297, y: 773} - m_ClearInEditMode: 1 - m_NoCameraWarning: 1 - m_LowResolutionForAspectRatios: 01000001000000000000 - m_XRRenderMode: 0 - m_RenderTexture: {fileID: 0} ---- !u!114 &13 -MonoBehaviour: - m_ObjectHideFlags: 52 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 12111, guid: 0000000000000000e000000000000000, type: 0} - m_Name: - m_EditorClassIdentifier: - m_MinSize: {x: 455, y: 354} - m_MaxSize: {x: 4000, y: 4000} - m_TitleContent: - m_Text: Asset Store - m_Image: {fileID: -8693916549880196297, guid: 0000000000000000d000000000000000, type: 0} - m_Tooltip: - m_Pos: - serializedVersion: 2 - x: 238 - y: 81 - width: 1297 - height: 985 - m_SerializedDataModeController: - m_DataMode: 0 - m_PreferredDataMode: 0 - m_SupportedDataModes: - isAutomatic: 1 - m_ViewDataDictionary: {fileID: 0} - m_OverlayCanvas: - m_LastAppliedPresetName: Default - m_SaveData: [] - m_OverlaysVisible: 1 + m_SimulatorState: + controlPanelVisible: 0 + controlPanelWidth: 0 + controlPanelFoldoutKeys: + - UnityEditor.DeviceSimulation.ApplicationSettingsPlugin + controlPanelFoldoutValues: 00 + pluginNames: + - UnityEditor.DeviceSimulation.ApplicationSettingsPlugin + pluginStates: + - '{}' + scale: 23 + fitToScreenEnabled: 0 + rotationDegree: 0 + highlightSafeAreaEnabled: 0 + friendlyName: Apple iPhone 12 + screenIndex: 0 + networkReachability: 1 + systemLanguage: 10 --- !u!114 &14 MonoBehaviour: m_ObjectHideFlags: 52 @@ -428,14 +385,14 @@ MonoBehaviour: m_MaxSize: {x: 4000, y: 4000} m_TitleContent: m_Text: Hierarchy - m_Image: {fileID: 7966133145522015247, guid: 0000000000000000d000000000000000, type: 0} + m_Image: {fileID: -3734745235275155857, guid: 0000000000000000d000000000000000, type: 0} m_Tooltip: m_Pos: serializedVersion: 2 - x: 61 - y: 88 - width: 229 - height: 773 + x: 0 + y: 72.571434 + width: 287.57144 + height: 405.2857 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0 @@ -449,9 +406,9 @@ MonoBehaviour: m_SceneHierarchy: m_TreeViewState: scrollPos: {x: 0, y: 0} - m_SelectedIDs: 20430000 - m_LastClickedID: 0 - m_ExpandedIDs: 2ac5ffff6ac5ffffb8c5ffff12e6ffff62e6ffffa8e6ffff2cfbffff + m_SelectedIDs: 1c640000 + m_LastClickedID: 25628 + m_ExpandedIDs: e4acfffffaadfffff4ffffffde630000f263000028640000 m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -467,7 +424,7 @@ MonoBehaviour: m_IsRenaming: 0 m_OriginalEventType: 11 m_IsRenamingFilename: 0 - m_ClientGUIView: {fileID: 8} + m_ClientGUIView: {fileID: 9} m_SearchString: m_ExpandedScenes: [] m_CurrenRootInstanceID: 0 @@ -491,14 +448,14 @@ MonoBehaviour: m_MaxSize: {x: 4000, y: 4000} m_TitleContent: m_Text: Scene - m_Image: {fileID: 2593428753322112591, guid: 0000000000000000d000000000000000, type: 0} + m_Image: {fileID: 8634526014445323508, guid: 0000000000000000d000000000000000, type: 0} m_Tooltip: m_Pos: serializedVersion: 2 - x: 291 - y: 94 - width: 1297 - height: 1045 + x: 288.57144 + y: 72.571434 + width: 543.1428 + height: 405.2857 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0 @@ -513,7 +470,7 @@ MonoBehaviour: floating: 0 collapsed: 0 displayed: 1 - snapOffset: {x: -166, y: -26} + snapOffset: {x: -166, y: -26.400024} snapOffsetDelta: {x: 0, y: 0} snapCorner: 3 id: Tool Settings @@ -818,9 +775,9 @@ MonoBehaviour: m_PlayAudio: 0 m_AudioPlay: 0 m_Position: - m_Target: {x: 4.0815682, y: -3.9418273, z: 1.2452817} + m_Target: {x: 1.1044087, y: 0.16902089, z: -1.6181836} speed: 2 - m_Value: {x: 4.0815682, y: -3.9418273, z: 1.2452817} + m_Value: {x: 1.1044087, y: 0.16902089, z: -1.6181836} m_RenderMode: 0 m_CameraMode: drawMode: 0 @@ -866,17 +823,17 @@ MonoBehaviour: m_GridAxis: 1 m_gridOpacity: 0.5 m_Rotation: - m_Target: {x: 0.2850786, y: 0.49412698, z: -0.17556857, w: 0.8023354} + m_Target: {x: 0.23509096, y: 0.5403412, z: -0.16041978, w: 0.79185104} speed: 2 - m_Value: {x: 0.2850789, y: 0.49412754, z: -0.17556876, w: 0.8023363} + m_Value: {x: 0.23509108, y: 0.5403415, z: -0.16041987, w: 0.79185146} m_Size: - m_Target: 6.9007382 + m_Target: 5.9993796 speed: 2 - m_Value: 6.9007382 + m_Value: 5.9993796 m_Ortho: - m_Target: 0 + m_Target: 1 speed: 2 - m_Value: 0 + m_Value: 1 m_CameraSettings: m_Speed: 1 m_SpeedNormalized: 0.5 @@ -913,14 +870,14 @@ MonoBehaviour: m_MaxSize: {x: 4000, y: 4000} m_TitleContent: m_Text: UI Builder - m_Image: {fileID: 8683992553321208622, guid: 0000000000000000d000000000000000, type: 0} + m_Image: {fileID: -3932862461143797134, guid: 0000000000000000d000000000000000, type: 0} m_Tooltip: m_Pos: serializedVersion: 2 - x: 291 - y: 94 - width: 1297 - height: 1045 + x: 404 + y: 73.6 + width: 1142 + height: 607.8 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0 @@ -947,14 +904,14 @@ MonoBehaviour: m_MaxSize: {x: 10000, y: 10000} m_TitleContent: m_Text: Project - m_Image: {fileID: -5467254957812901981, guid: 0000000000000000d000000000000000, type: 0} + m_Image: {fileID: -5179483145760003458, guid: 0000000000000000d000000000000000, type: 0} m_Tooltip: m_Pos: serializedVersion: 2 - x: 61 - y: 882 - width: 1528 - height: 468 + x: 0 + y: 499.4286 + width: 1104.7142 + height: 242.71432 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0 @@ -986,14 +943,14 @@ MonoBehaviour: m_LastFolders: - Assets/Polkadot Unity SDK/DemoGame/Scripts m_LastFoldersGridSize: 16 - m_LastProjectPath: D:\repos\API AND SDK\Substrate.Hexalem.Unity + m_LastProjectPath: C:\Users\cisar\Documents\GitHub\Hexalem\Substrate.Hexalem.Unity m_LockTracker: m_IsLocked: 0 m_FolderTreeState: - scrollPos: {x: 0, y: 0} - m_SelectedIDs: d84a0000 - m_LastClickedID: 19160 - m_ExpandedIDs: 00000000c04a0000c24a0000c44a0000c64a0000c84a0000ca4a0000cc4a0000ce4a0000d04a0000d24a0000d44a0000d64a0000d84a0000da4a0000dc4a00008c52000000ca9a3bffffff7f + scrollPos: {x: 0, y: 33.285675} + m_SelectedIDs: 76420000 + m_LastClickedID: 17014 + m_ExpandedIDs: 000000000a410000da410000f241000000ca9a3bffffff7f m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -1009,7 +966,7 @@ MonoBehaviour: m_IsRenaming: 0 m_OriginalEventType: 11 m_IsRenamingFilename: 1 - m_ClientGUIView: {fileID: 10} + m_ClientGUIView: {fileID: 11} m_SearchString: m_CreateAssetUtility: m_EndAction: {fileID: 0} @@ -1021,7 +978,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} m_SelectedIDs: m_LastClickedID: 0 - m_ExpandedIDs: 00000000c04a0000c24a0000c44a0000c64a0000c84a0000ca4a0000cc4a0000ce4a0000d04a0000d24a0000d44a0000d64a0000d84a0000da4a0000dc4a0000de4a0000 + m_ExpandedIDs: 000000000a41000000ca9a3bffffff7f m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -1046,26 +1003,26 @@ MonoBehaviour: m_Icon: {fileID: 0} m_ResourceFile: m_ListAreaState: - m_SelectedInstanceIDs: - m_LastClickedInstanceID: 0 + m_SelectedInstanceIDs: 1c640000 + m_LastClickedInstanceID: 25628 m_HadKeyboardFocusLastEvent: 1 m_ExpandedInstanceIDs: c6230000f65f0000505a000036640000805a00009e590000c8590000cc590000ec6e0000a05a0000f2590000305c00001066000028980000827a0300 m_RenameOverlay: m_UserAcceptedRename: 0 - m_Name: GridManager - m_OriginalName: GridManager + m_Name: DemoGameController + m_OriginalName: DemoGameController m_EditFieldRect: serializedVersion: 2 x: 0 y: 0 width: 0 height: 0 - m_UserData: 17184 + m_UserData: 18288 m_IsWaitingForDelay: 0 m_IsRenaming: 0 m_OriginalEventType: 0 m_IsRenamingFilename: 1 - m_ClientGUIView: {fileID: 10} + m_ClientGUIView: {fileID: 11} m_CreateAssetUtility: m_EndAction: {fileID: 0} m_InstanceID: 0 @@ -1093,14 +1050,14 @@ MonoBehaviour: m_MaxSize: {x: 4000, y: 4000} m_TitleContent: m_Text: Console - m_Image: {fileID: -4327648978806127646, guid: 0000000000000000d000000000000000, type: 0} + m_Image: {fileID: -4950941429401207979, guid: 0000000000000000d000000000000000, type: 0} m_Tooltip: m_Pos: serializedVersion: 2 - x: 61 - y: 1102 - width: 1528 - height: 254 + x: 0 + y: 498.85718 + width: 1104.7142 + height: 243.28577 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0 @@ -1127,14 +1084,14 @@ MonoBehaviour: m_MaxSize: {x: 4000, y: 4000} m_TitleContent: m_Text: Inspector - m_Image: {fileID: -2667387946076563598, guid: 0000000000000000d000000000000000, type: 0} + m_Image: {fileID: -440750813802333266, guid: 0000000000000000d000000000000000, type: 0} m_Tooltip: m_Pos: serializedVersion: 2 - x: 1590 - y: 88 - width: 493 - height: 1262 + x: 1105.7144 + y: 72.571434 + width: 356.14294 + height: 669.5715 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0