美文网首页
Unity5.4.1与NGUI出现的问题Ignoring men

Unity5.4.1与NGUI出现的问题Ignoring men

作者: 千喜AR | 来源:发表于2017-02-28 18:52 被阅读92次

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)]

staticvoidBreaker(){}

[MenuItem("NGUI/Help",false,12)]

staticpublicvoidHelp(){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)]

staticpublicvoidHelp(){NGUIHelp.Show();}

相关文章

网友评论

      本文标题:Unity5.4.1与NGUI出现的问题Ignoring men

      本文链接:https://www.haomeiwen.com/subject/aaffgttx.html