示例#1
0
        public void OnGUI()
        {
            var r = GUILayoutUtility.GetLastRect();

            mSplitView.OnGUI(new Rect(new Vector2(0, r.yMax),
                                      new Vector2(mPackageKitWindow.position.width, mPackageKitWindow.position.height - r.height)));
        }
        public override void OnGUI()
        {
            base.OnGUI();

            GUILayout.BeginHorizontal();
            GUILayout.EndHorizontal();

            var r = GUILayoutUtility.GetLastRect();

            mSplitView.OnGUI(new Rect(new Vector2(0, r.yMax),
                                      new Vector2(position.width, position.height - r.height)));

            RenderEndCommandExecutor.ExecuteCommand();
        }
示例#3
0
        public override void OnGUI()
        {
            base.OnGUI();

            GUILayout.BeginHorizontal();
            GUILayout.FlexibleSpace();
            GUILayout.Label(DateTime.Now.ToLongTimeString(), Styles.selectionRect);

            GUILayout.EndHorizontal();

            var r = GUILayoutUtility.GetLastRect();

            mSplitView.OnGUI(new Rect(new Vector2(0, r.yMax),
                                      new Vector2(position.width, position.height - r.height)));

            RenderEndCommandExecuter.ExecuteCommand();
        }