Ejemplo n.º 1
0
        public override void OnStart(StartState state)
        {
            if (state != StartState.Editor && vessel != null)
            {
                part.force_activate();
                ParkPosition = vessel.transform.position;

                instance = this;
            }
        }
Ejemplo n.º 2
0
 public override void OnStart(StartState state)
 {
     if (state != StartState.Editor)
     {
         if (vessel != null)
         {
             part.force_activate();
             ParkPosition = vessel.transform.position;
             SetAltitudeToCurrent();
             instance = this;
         }
     }
 }
Ejemplo n.º 3
0
 public void OnDestroy()
 {
     instance = null;
 }
Ejemplo n.º 4
0
 private void updateVesselData()
 {
     airParkInstance = AirPark.Instance;
     button.Enabled  = this.enabled = (null != airParkInstance);
     Log.dbg("Tollbar Enabled == {0}", this.enabled);
 }