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