using UnityEngine; using System.Collections; public class StationAI : AI { override protected void Start () { base.Start (); SetPlayer (new Player ()); } protected Station owner { get{ return _owner as Station; } } void FixedUpdate () { if(!CanSendMessage()) { return; } if(battleController.isGameOver || owner.IsDead()) { return; } CheckDead(); } }