Ejemplo n.º 1
0
 public void EnemyBaseScoutingCompleat(GameObject Enemy, GameObject ShipThatFound)
 {
     foreach (GameObject Ships in AttackFleet)
     {
         Ships.GetComponent <ShipAI> ().Attack(Enemy);
     }
     ShipThatFound.GetComponent <MoveComponent> ().Movement(StarBases [0].transform.position + new Vector3(100, 0, 100));
     ShipThatFound.GetComponent <ShipAI> ().DontReaction = true;
 }
Ejemplo n.º 2
0
 public void NeedHelp(GameObject Enemy)
 {
     foreach (GameObject Ships in AttackFleet2)
     {
         Ships.GetComponent <ShipAI> ().Attack(Enemy);
     }
     foreach (GameObject Ships in AttackFleet3)
     {
         Ships.GetComponent <ShipAI> ().Attack(Enemy);
     }
 }