void OnEnable() { window = this; // set singleton. splitterState = SplitterGUILayout.CreateSplitterState(new float[] { 75f, 25f }, new int[] { 32, 32 }, null); treeView = new UniTaskTrackerTreeView(); TaskTracker.EditorEnableState.EnableAutoReload = EditorPrefs.GetBool(TaskTracker.EnableAutoReloadKey, false); TaskTracker.EditorEnableState.EnableTracking = EditorPrefs.GetBool(TaskTracker.EnableTrackingKey, false); TaskTracker.EditorEnableState.EnableStackTrace = EditorPrefs.GetBool(TaskTracker.EnableStackTraceKey, false); }
void OnGUI() { // Head RenderHeadPanel(); // Splittable SplitterGUILayout.BeginVerticalSplit(this.splitterState, EmptyLayoutOption); { // Column Tabble RenderTable(); // StackTrace details RenderDetailsPanel(); } SplitterGUILayout.EndVerticalSplit(); }