Beispiel #1
0
 public static void StoreBird(Bird bird) => PrefabPool.DespawnClone(bird.gameObject);
Beispiel #2
0
 public static Bird GetBird()
 {
     Debug.Log("Spawning bird.");
     return(PrefabPool.SpawnClone(BirdPrefab).GetComponent <Bird>());
 }