public static void ShowEditor() { TestWindow tw = EditorWindow.GetWindow <TestWindow>(); tw.Init(); }
static void ShwoTestWindow() { TestWindow window = EditorWindow.GetWindow <TestWindow>(false, "TestWindow", true); window.Init(); }