Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     flightControl = GetComponent <FlightControl> ();
     radarSystem   = GetComponent <RadarSystem> ();
     targetSystem  = GetComponent <TargetSystem> ();
     weaponSystem  = GetComponent <WeaponSystem> ();
     cmSystem      = GetComponent <CounterMeasureSystem> ();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     weaponSystem      = host.GetComponent <WeaponSystem> ();
     machineGunControl = machinegun.GetComponent <MachineGunControl> ();
     cmSystem          = host.GetComponent <CounterMeasureSystem> ();
 }