예제 #1
0
        protected virtual void OnDisable()
        {
            VRLog.Info("Unlisten!");
            GUIQuadRegistry.Unregister(this);

            VRGUI.Instance.Unlisten();
        }
예제 #2
0
파일: GUIQuad.cs 프로젝트: nvidiattx/VRGIN
 protected virtual void OnDisable()
 {
     if (IsGUISource())
     {
         VRLog.Info("Stop listening to GUI ({0})", name);
         GUIQuadRegistry.Unregister(this);
         VR.GUI.Unlisten();
     }
 }