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(); }
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(); }