/// <summary> /// Overrides the OnDestroy method, called when plugin is destroyed (leaving Flight scene). /// </summary> void OnDestroy() { log("KerbalVrPlugin OnDestroy"); vrSystem.ReleaseInputFocus(); OpenVR.Shutdown(); hmdIsInitialized = false; }