예제 #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();
        }