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 }
public void Clear() { cameraSystem.Clear(); }