Ejemplo n.º 1
0
 override protected void Awake()
 {
     base.Awake();
     objective              = gameObject.AddComponent <SeekAndDestroyObjective>();
     objective.ship         = this;
     objective.opponentShip = FindObjectOfType(typeof(PlayerShip)) as Ship;
 }
Ejemplo n.º 2
0
 protected override void Awake()
 {
     base.Awake();
     objective = gameObject.AddComponent<SeekAndDestroyObjective>();
     objective.ship = this;
     objective.opponentShip = FindObjectOfType(typeof(PlayerShip)) as Ship;
 }