Exemplo n.º 1
0
        private void OnGUI()
        {
            if (_midSplitView == null)
            {
                _midSplitView = new EditorGUISplitView(EditorGUISplitView.Direction.Horizontal, _SetNeedRepaint);
            }

            if (_logSplitView == null)
            {
                _logSplitView = new EditorGUISplitView(EditorGUISplitView.Direction.Vertical, _SetNeedRepaint);
            }

            EditorGUILayout.BeginHorizontal();
            _midSplitView.BeginSplitView();

            _DrawLeftGroupView();

            _midSplitView.Split();

            _DrawRightGroupView();

            _midSplitView.EndSplitView();

            EditorGUILayout.EndHorizontal();

            _RepaintIfNeed();
        }