static public void Init() { XSGradientEditor window = EditorWindow.GetWindow <XSGradientEditor>(false, "SCSS Gradient Editor", true); window.minSize = new Vector2(450, 390); }
// External static public void callGradientEditor(Material focusedMat = null) { XSGradientEditor.focusedMat = focusedMat; XSGradientEditor.Init(); }