Exemplo n.º 1
0
        static void MenuDoWeldVertices()
        {
            WeldVertices instance = EditorToolbarLoader.GetInstance <WeldVertices>();

            if (instance != null)
            {
                UnityEditor.ProBuilder.EditorUtility.ShowNotification(instance.DoAction().notification);
            }
        }
Exemplo n.º 2
0
        static bool MenuVerifyWeldVertices()
        {
            WeldVertices instance = EditorToolbarLoader.GetInstance <WeldVertices>();

            return(instance != null && instance.enabled);
        }