using UnityEngine; using UnityEditor; public class CustomMenu { [MenuItem("Custom/MenuItem1 #&c")] static public void MenuItem1() { Debug.Log("Click MenuItem1"); } [MenuItem("Custom/MenuItem2 #&c")] static public void MenuItem2() { Debug.Log("Click MenuItem2"); } }