///////////////////////////////////////// public void DrawGUI() { UnityEditorSplitterGUILayout.BeginHorizontalSplit(m_HorizontalSplitter); using (new GUILayout.VerticalScope()) { DrawLeftPane(); } using (new GUILayout.VerticalScope(HEditorStyles.dopesheetBackground)) { DrawRightPane(); } UnityEditorSplitterGUILayout.EndHorizontalSplit(); }
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(); }
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); } }