unity出现Ignoring menu item NGUI because it is in no submenu!
来源:互联网 发布:overlay 网络实验 编辑:程序博客网 时间:2024/06/05 03:58
原文:http://www.tasharen.com/forum/index.php?topic=14856.0
Hey Arenmook, after upgrading to Unity 5.4.1 (from 5.3.6p1) and upgrading to NGUI 3.10.1, Unity kept complaining on me on every recompile like this:
Quote
Ignoring menu item NGUI because it is in no submenu!
So I looked into it, and it turns out that this is the problem in NGUIMenu.cs Line 715+:
在Asset中的NGUI文件夹中找到NGUIMenu.cs文件,打开,把下面两句代码替换
- [MenuItem("NGUI/", false, 11)]
- static void Breaker () { }
- [MenuItem("NGUI/Help", false, 12)]
- static public void Help () { NGUIHelp.Show(); }
It can be easily fixed by removing the "Breaker" lines and increasing "Help" Priority by 10, like so:
替换为以下一句
- [MenuItem("NGUI/Help", false, 120)]
- static public void Help () { NGUIHelp.Show(); }
阅读全文
0 0
- unity出现Ignoring menu item NGUI because it is in no submenu!
- Unity5.4.1与NGUI出现的问题Ignoring menu item NGUI because it is in no submenu!
- Unity5.4.1与NGUI出现的问题Ignoring menu item NGUI because it is in no submenu!
- Unity5.4.1与NGUI出现的问题Ignoring menu item NGUI because it is in no submenu!
- 01 Ignoring menu item NGUI error, Unity 5.4.1 plus Fix
- Cannot drop database "databasename" because it is currently in use.
- there is no examin menu in the top tool bar
- The service cannot be started, either because it is disabled or because it has no enabled deices ass
- workbench出现there is not editable because there is no primary key
- menu item icon in toolbar overflow menu
- Column \'表名.某列名\' is invalid in the select list because it is not contained in either an aggregate f
- Can not delete a master page "This item cannot be deleted because it is still referenced by other pa
- Cannot drop the database 'databasename' because it is currently in use
- Cannot drop the database [NAME] because it is currently in use
- The Simulator can't be launched because it is already in use.
- Xcode The Simulator can't be launched because it is already in use .
- The Simulator can't be launched because it is already in use.
- Xcode The Simulator can't be launched because it is already in use .
- 树莓派介绍
- windows7下chm打开后不显示内容问题
- 将博客搬至CSDN
- Oracle的概念理解
- 远程桌面连接_全屏问题
- unity出现Ignoring menu item NGUI because it is in no submenu!
- 出现unknown opening required错误
- php项目_系网站建设
- 算法竞赛入门经典_6数据结构基础
- 3dmax相关的英语
- java图形界面开发插件
- java图形界面开发_仿pc版TIM
- arm_1_指令的寻址方式
- java包名问题