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