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