예제 #1
0
 protected override void Start()
 {
     base.Start();
     repeatableAction = new UnityEngine.Events.UnityAction(Spawn);
     delayBetweenActionRepetitions = respawnPeriod;
     shipZone     = new EnemyZone();
     shipTemplate = Prefab.enemy;
 }
예제 #2
0
 void Awake()
 {
     instance = this;
 }