unity 菜单栏添加新菜单

 

using UnityEngine;
using System.Collections;
using UnityEditor;

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

 

posted @ 2015-11-13 10:11  那些消散不去的是寂寞  阅读(1102)  评论(0编辑  收藏  举报