unity 菜單欄添加新菜單

 

using UnityEngine;
using System.Collections;
using UnityEditor; public class jqmTools : CreateSphere
{
    [MenuItem("JqmTools/init Scenes")] 
    static void CreateSphere()
    {
        Debug.Log("hello  CreateSphere");
    }
}
相關文章
相關標籤/搜索