protected override void Start() { base.Start(); // Initialize AI behaviour (this will launch the AI) this.behaviour = TurrelEnemyAI.Initialize(this); weapon = GetComponentInChildren <Weapon>(); weapon.Owned(this); }
protected override void Awake() { base.Awake(); instance = this; }