public void Dispose() { Interop.WVR_Quit(); Debug.Log("WVR_Quit"); instance = null; System.GC.SuppressFinalize(this); }
public void Dispose() { #if UNITY_EDITOR EndSimulator(); #else Interop.WVR_Quit(); #endif instance = null; System.GC.SuppressFinalize(this); }
void OnApplicationQuit() { WaveVR_Utils.IssueEngineEvent(WaveVR_Utils.EngineEventID.UNITY_APPLICATION_QUIT); if (synchronizer != null) { synchronizer.sync(); } #if UNITY_EDITOR WaveVR.EndSimulator(); #endif }
public void Dispose() { if (!this.Initialized) { return; } Interop.WVR_Quit(); PrintInfoLog("WVR_Quit"); instance = null; Initialized = false; System.GC.SuppressFinalize(this); }
public void Dispose() { if (!this.Initialized) { return; } // ---------------------------------- Gesture begins ---------------------------------- PrintInfoLog("Stop Hand Gesture before WVR_Quit."); StopHandGesture(); PrintInfoLog("Stop Hand Tracking before WVR_Quit."); StopHandTracking(); // ---------------------------------- Gesture ends ---------------------------------- Interop.WVR_Quit(); PrintInfoLog("WVR_Quit"); instance = null; Initialized = false; System.GC.SuppressFinalize(this); }