示例#1
0
        public void OnDestroy()
        {
            plane.CleanUp();
            lander.CleanUp();

            Util.controller.ResetShake();
        }
示例#2
0
        public void OnDestroy() // We left the FlightScene, this Monobehaviour is being destroyed.
        {
            GameEvents.onVesselChange.Remove(this.OnVesselChange);

            Settings.SaveCurrentVesselConfig(this.ActiveVessel);
            plane.CleanUp();
            lander.CleanUp();

            Util.controller.ResetShake();
        }