Пример #1
0
        static void MenuDoToggleSelectBackFaces()
        {
            ToggleSelectBackFaces instance = EditorToolbarLoader.GetInstance <ToggleSelectBackFaces>();

            if (instance != null)
            {
                UnityEditor.ProBuilder.EditorUtility.ShowNotification(instance.DoAction().notification);
            }
        }
Пример #2
0
        static bool MenuVerifyToggleSelectBackFaces()
        {
            ToggleSelectBackFaces instance = EditorToolbarLoader.GetInstance <ToggleSelectBackFaces>();

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