Ejemplo n.º 1
0
 protected void OnGUI()
 {
     if (Show)
     {
         Inspector.DisplayInspector();
         TreeViewer.DisplayViewer();
         Repl.DisplayWindow();
     }
 }
 public void OnGUI()
 {
     if (Show)
     {
         Inspector.DisplayInspector();
         TreeViewer.DisplayViewer();
         Repl?.DisplayWindow();
     }
 }
Ejemplo n.º 3
0
        public void OnGUI()
        {
            if (Show)
            {
                Cursor.lockState = CursorLockMode.None;
                Cursor.visible   = true;

                Inspector.DisplayInspector();
                TreeViewer.DisplayViewer();
                Repl?.DisplayWindow();
            }
        }
        internal void OnGUI()
        {
            if (Show)
            {
                var originalSkin = GUI.skin;
                GUI.skin = InterfaceMaker.CustomSkin;

                Cursor.lockState = CursorLockMode.None;
                Cursor.visible   = true;

                Inspector.DisplayInspector();
                TreeViewer.DisplayViewer();
                Repl?.DisplayWindow();

                // Restore old skin for maximum compatibility
                GUI.skin = originalSkin;
            }
        }