Пример #1
0
    public void RespawnObject()
    {
        if (m_objectSpawners.Count <= 0)
        {
            return;
        }

        PedestrianObjectSpawner spawners = m_objectSpawners[Random.Range(0, m_objectSpawners.Count)];

        spawners.RespawnObject();
    }
Пример #2
0
 public void RegisterObjectSpawner( PedestrianObjectSpawner a_spawner )
 {
     m_objectSpawners.Add( a_spawner );
 }
Пример #3
0
 public void RegisterObjectSpawner(PedestrianObjectSpawner a_spawner)
 {
     m_objectSpawners.Add(a_spawner);
 }