Beispiel #1
0
        static void MenuDoWeldVertices()
        {
            WeldVertices instance = EditorToolbarLoader.GetInstance <WeldVertices>();

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

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