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