예제 #1
0
    internal void Spawn(Gate gate)
    {
        SpawnList spawnList = SpawnLists[gate.SpawnListIndex];

        List <ObjectType> objectsToSpawn = spawnList.Spawn(gate);

        StartCoroutine(SpawnObjectList(gate, objectsToSpawn));
    }