private void Awake()
 {
     spawner = new Spawner <Transform>(prefab);
 }
示例#2
0
 private void Awake()
 {
     spawner = new Spawner <Ammunition>(ammunitionPrefab);
 }