static void Init() { if (wnd == null) wnd = (ConnectDebugger)EditorWindow.GetWindow(typeof(ConnectDebugger), true, "Connect debugger"); wnd.position = new Rect(Screen.width / 2, Screen.height / 2, 500, 50); wnd.Show(); }
static void Init() { if (wnd == null) { wnd = (ConnectDebugger)EditorWindow.GetWindow(typeof(ConnectDebugger), true, "Connect debugger"); } wnd.position = new Rect(Screen.width / 2, Screen.height / 2, 500, 50); wnd.Show(); }