Esempio n. 1
0
 private void ClearGame(Entity map)
 {
     UnityEngine.Time.timeScale = 1;
     //systemsManager.ClearGame();
     worldSpawnSystem.DestroyWorld(map);
     //worldSpawnSystem.Clear();       // should clear chunks of the spawned units
     characterSpawnSystem.Clear(); // just need to clear player characters though
     cameraSystem.Clear();         // need to remove all cameras from game
     boss.ClearGame();
     // items and bullets will despawn over time
 }
Esempio n. 2
0
 public void Clear()
 {
     cameraSystem.Clear();
 }