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