Exemplo n.º 1
0
        protected virtual void OnDisable()
        {
            VRLog.Info("Unlisten!");
            GUIQuadRegistry.Unregister(this);

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