unity 菜单栏添加新菜单

using UnityEngine;
using System.Collections;
using UnityEditor;

public class jqmTools : CreateSphere
{
    [MenuItem("JqmTools/init Scenes")] 
    static void CreateSphere()
    {
        Debug.Log("hello  CreateSphere");
    }
}
原文地址:https://www.cnblogs.com/jqm304775992/p/4961343.html