Exemple #1
0
        static public void Init()
        {
            XSGradientEditor window = EditorWindow.GetWindow <XSGradientEditor>(false, "SCSS Gradient Editor", true);

            window.minSize = new Vector2(450, 390);
        }
Exemple #2
0
        // External

        static public void callGradientEditor(Material focusedMat = null)
        {
            XSGradientEditor.focusedMat = focusedMat;
            XSGradientEditor.Init();
        }