Exemple #1
0
 public void ClearMap()
 {
     _tilePool.Clear();
     Destroy(_character.gameObject);
     _character           = null;
     _currentTileEndPos   = Vector3Int.zero;
     _tileCounter         = 0;
     _crystalSpawnIndex   = 0;
     _crystalAlreadySpawn = false;
 }