编辑器菜单操作

通过代码执行某个菜单项:
EditorApplication.ExecuteMenuItem("GameObject/Create Other/Cube");

posted @ 2012-03-12 09:57  斯芬克斯  阅读(283)  评论(0编辑  收藏  举报