摘要:在引用UZGUI插件时,u3d编辑器的菜单栏发生了变化,新增了菜单和菜单项,于是乎自己也像尝试一下,看了EZGUI的About_EZ_GUI脚本文件后,结果大出我所料,原来SO EASY! 1 using UnityEngine; 2 using UnityEditor; 3 4 public class Example { 5 6 [MenuItem("new Menu/new/new new/new item")] 7 static void showDialog() 8 { 9 EditorUtility.DisplayDialog("titl... 阅读全文
posted @ 2012-06-04 14:43 Marble 阅读(5981) 评论(0) 推荐(0) 编辑