static void MenuDoOpenLightmapUVEditor() { OpenLightmapUVEditor instance = EditorToolbarLoader.GetInstance <OpenLightmapUVEditor>(); if (instance != null) { UnityEditor.ProBuilder.EditorUtility.ShowNotification(instance.DoAction().notification); } }
static bool MenuVerifyOpenLightmapUVEditor() { OpenLightmapUVEditor instance = EditorToolbarLoader.GetInstance <OpenLightmapUVEditor>(); return(instance != null && instance.enabled); }