Esempio n. 1
0
        static void MenuDoTriangulateFaces()
        {
            TriangulateFaces instance = EditorToolbarLoader.GetInstance <TriangulateFaces>();

            if (instance != null)
            {
                UnityEditor.ProBuilder.EditorUtility.ShowNotification(instance.DoAction().notification);
            }
        }
Esempio n. 2
0
        static bool MenuVerifyTriangulateFaces()
        {
            TriangulateFaces instance = EditorToolbarLoader.GetInstance <TriangulateFaces>();

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