public void AddSpawner(IGameObject spawner) { spawnerList.Add(spawner); spawnManager.AddSpawner((ISpawner)spawner); }