public static void UpdateWindow() { Light2DWindow editorWindow = GetWindow(); editorWindow.minSize = new Vector2(350, 350); editorWindow.maxSize = new Vector2(4000, 800); }
static public Light2DWindow GetWindow() { Light2DWindow editorWindow = GetWindow <Light2DWindow>(false, "2D Light", true); return(editorWindow); }