unity 菜单栏添加新菜单

 

using UnityEngine;
using System.Collections;
using UnityEditor; public class jqmTools : CreateSphere
{
    [MenuItem("JqmTools/init Scenes")] 
    static void CreateSphere()
    {
        Debug.Log("hello  CreateSphere");
    }
}

 

你可能感兴趣的:(unity 菜单栏添加新菜单)