11 2023 档案
摘要:文章转载自IMGUI crash course Unity's IMGUI system is quite simple but very powerful. The main parts are: The OnGUI callback. This callback is used to handl
阅读全文
摘要:Unity在编辑器退出EditMode进入PlayMode之前,调用了一次Start和Update,然后提供了空的数据。 这个时候容易造成除以0的情况,但是Unity没有立刻抛出异常,而是继续执行,生成了一个无穷大的数值。
阅读全文
摘要:目录什么是MenuItemMenuItem类的构造函数MenuItem的快捷键向GameObject目录添加MenuItemMenuItem官方案例代码NGUI中的MenuItemNGUI中的GenericItem使用Context MenuItem 打开脚本的CustomEditor 什么是Men
阅读全文
摘要:Before you make any changes, you must profile your application to identify the cause of the problem. If you attempt to solve a performance problem bef
阅读全文