Esempio n. 1
0
        protected virtual void OnEnable()
        {
            VRLog.Info("Listen!");
            GUIQuadRegistry.Register(this);

            VRGUI.Instance.Listen();
        }
Esempio n. 2
0
 protected virtual void OnEnable()
 {
     if (IsGUISource())
     {
         VRLog.Info("Start listening to GUI ({0})", name);
         GUIQuadRegistry.Register(this);
         VR.GUI.Listen();
     }
 }