kingBook

导航

2017年6月5日 #

Unity 菜单拓展

摘要: 扩展编辑器顶部的菜单栏 [MenuItem("test/item1 %g"] public static void haha() { Debug.Log("this is a test"); } // 添加带快捷键的菜单:只需要在后边添加%+key。 //(win : Ctrl+key, Mac : 阅读全文

posted @ 2017-06-05 20:50 kingBook 阅读(331) 评论(0) 推荐(0)