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

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

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