private static void Init() { if (s_ActiveInspector == null) { GUIViewDebuggerWindow window = (GUIViewDebuggerWindow)EditorWindow.GetWindow(typeof(GUIViewDebuggerWindow)); s_ActiveInspector = window; } s_ActiveInspector.Show(); }
[MenuItem("Window/Analysis/IMGUI Debugger &5", false, 102, false)] // TODO: DEBUG ONLY - REVERT ME static void Init() { // Get existing open window or if none, make a new one: if (s_ActiveInspector == null) { GUIViewDebuggerWindow window = (GUIViewDebuggerWindow)GetWindow(typeof(GUIViewDebuggerWindow)); s_ActiveInspector = window; } s_ActiveInspector.Show(); }