public void RespawnObject() { if (m_objectSpawners.Count <= 0) { return; } PedestrianObjectSpawner spawners = m_objectSpawners[Random.Range(0, m_objectSpawners.Count)]; spawners.RespawnObject(); }
public void RegisterObjectSpawner( PedestrianObjectSpawner a_spawner ) { m_objectSpawners.Add( a_spawner ); }
public void RegisterObjectSpawner(PedestrianObjectSpawner a_spawner) { m_objectSpawners.Add(a_spawner); }