예제 #1
0
    IEnumerator SpawnWait()
    {
        yield return(new WaitForSeconds(10));

        spawnGhost2.Spawn();
    }
예제 #2
0
 void SpawnGhosts()
 {
     spawnGhost1.Spawn();
     StartCoroutine(SpawnWait());
 }