예제 #1
0
    void SpawnGhost()
    {
        GameObject newGhost = Instantiate(LevelReader.GetGhostOfType(nextSpawn.type).gameObject);

        newGhost.transform.position = LevelReader.GetSpawnPoint(nextSpawn.spot);
    }