public void GameStart() { InGameManager.instance.GameStateChangeEvent += OnGameStateChange; GameObject coreObj = Instantiate(GetCorePrefab()); PlayerCore = coreObj.GetComponent <Core>(); HexCell startCell = HexGrid.instance.cells[StartCell]; PlayerCore.transform.position = startCell.transform.position; PlayerCore.InitCore(startCell, this); Unit_Base unit = CreateNewUnit(startCell, 1); startCell.ChangeOwner(unit); for (int i = 0; i < StartDeck.Length; i++) { AddNewCard(StartDeck[i]); } }