protected virtual void OnDisable() { VRLog.Info("Unlisten!"); GUIQuadRegistry.Unregister(this); VRGUI.Instance.Unlisten(); }
protected virtual void OnDisable() { if (IsGUISource()) { VRLog.Info("Stop listening to GUI ({0})", name); GUIQuadRegistry.Unregister(this); VR.GUI.Unlisten(); } }