Exemplo n.º 1
0
 /////////////////////////////////////////
 public void DrawGUI()
 {
     UnityEditorSplitterGUILayout.BeginHorizontalSplit(m_HorizontalSplitter);
     using (new GUILayout.VerticalScope()) {
         DrawLeftPane();
     }
     using (new GUILayout.VerticalScope(HEditorStyles.dopesheetBackground)) {
         DrawRightPane();
     }
     UnityEditorSplitterGUILayout.EndHorizontalSplit();
 }
Exemplo n.º 2
0
        public override void OnDefaultGUI()
        {
            //P.Load();
            //DrawToolBar();

            UnityEditorSplitterGUILayout.BeginHorizontalSplit(m_HorizontalSplitter);

            ScopeVertical.Begin();
            DrawLeftPane();
            ScopeVertical.End();

            ScopeVertical.Begin(HEditorStyles.dopesheetBackground);
            DrawRightPane();
            ScopeVertical.End();

            UnityEditorSplitterGUILayout.EndHorizontalSplit();
        }
Exemplo n.º 3
0
        public override void OnDefaultGUI()
        {
            E.Load();
            ScopeDisable.BeginIsCompiling();
            DrawToolBar();

            UnityEditorSplitterGUILayout.BeginHorizontalSplit(m_HorizontalSplitter);
            ScopeVertical.Begin();
            DrawLeftPane();
            ScopeVertical.End();
            ScopeVertical.Begin(HEditorStyles.dopesheetBackground);
            DrawRightPane();
            ScopeVertical.End();
            UnityEditorSplitterGUILayout.EndHorizontalSplit();

            ScopeDisable.End();

            if (EditorApplication.isCompiling)
            {
                var rc = position;
                rc.x = rc.y = 0;
                GUI.Label(rc.AlignCenter(100, 20), EditorHelper.TempContent($"コンパイル中", m_waitSpinIcon), GUI.skin.box);
            }
        }