예제 #1
0
    public static void UpdateWindow()
    {
        Light2DWindow editorWindow = GetWindow();

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

        return(editorWindow);
    }