static public void Init()
        {
            init = true;
            window = (EditorPlusPrimitives)EditorWindow.GetWindow(typeof(EditorPlusPrimitives));
            window.title = "Primitives";
            window.minSize = new Vector2(50f, 50f);
            LoadResources();

            EditorPlus.OnSkinSwitched += LoadResources;
        }
Exemplo n.º 2
0
        static public void Init()
        {
            init           = true;
            window         = (EditorPlusPrimitives)EditorWindow.GetWindow(typeof(EditorPlusPrimitives));
            window.title   = "Primitives";
            window.minSize = new Vector2(50f, 50f);
            LoadResources();

            EditorPlus.OnSkinSwitched += LoadResources;
        }