上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: 原文链接 https://learn.microsoft.com/en-us/windows/win32/direct3d9/efficiently-drawing-multiple-instances-of-geometry?redirectedfrom=MSDN Given a scene th 阅读全文
posted @ 2024-02-18 14:01 dewxin 阅读(30) 评论(0) 推荐(0)
摘要: 原文地址 https://thegamedev.guru/unity-performance/draw-call-optimization/#wait-whats-a-draw-call 目录什么是DrawCallBatches vs SetPassesCounting Unity Draw Cal 阅读全文
posted @ 2024-02-18 13:35 dewxin 阅读(174) 评论(0) 推荐(0)
摘要: PCIe 3.0 vs 2.0 – What’s the Difference? PCIe 3.0 传输带宽为 0.9GByte/s = 5Gbit/s * 128B/130B / (8bit/byte) https://www.technewstoday.com/pcie-3-0-vs-2-0/ 阅读全文
posted @ 2024-02-14 13:34 dewxin 阅读(240) 评论(0) 推荐(0)
摘要: 如果这里树枝和石头分开,那么出口5号洞。 如果1号洞口的线没出头,那么出口6号洞。 如果这里没有绿色,那么在2或3洞口。 有黑点 3号洞口。 如果有绿色,那么出口在1或4洞口。 这种1 线没被覆盖 这种4 阅读全文
posted @ 2023-12-09 19:45 dewxin 阅读(120) 评论(0) 推荐(0)
摘要: 简介 Unity是一个非常优秀的引擎,但其中有些设计在提供方便的同时也埋下了隐患,比如BroadcastMessage以及UnityEngine.Object中的隐式转换。 本文通过使用Harmony注入C#代码,达到检测隐式转换的效果,提供了替换Unity引擎C#代码的思路。 Harmony Ha 阅读全文
posted @ 2023-12-08 23:05 dewxin 阅读(462) 评论(0) 推荐(0)
摘要: https://gist.github.com/bikrone/666bb26fb0d4468df12c890ecc6c512e using UnityEditor; using UnityEngine; public sealed class ExampleClass : EditorWindow 阅读全文
posted @ 2023-12-01 22:39 dewxin 阅读(177) 评论(0) 推荐(0)
摘要: 文章转载自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 阅读全文
posted @ 2023-11-24 13:20 dewxin 阅读(80) 评论(0) 推荐(0)
摘要: Unity在编辑器退出EditMode进入PlayMode之前,调用了一次Start和Update,然后提供了空的数据。 这个时候容易造成除以0的情况,但是Unity没有立刻抛出异常,而是继续执行,生成了一个无穷大的数值。 阅读全文
posted @ 2023-11-23 15:07 dewxin 阅读(1158) 评论(0) 推荐(0)
摘要: 目录什么是MenuItemMenuItem类的构造函数MenuItem的快捷键向GameObject目录添加MenuItemMenuItem官方案例代码NGUI中的MenuItemNGUI中的GenericItem使用Context MenuItem 打开脚本的CustomEditor 什么是Men 阅读全文
posted @ 2023-11-22 00:09 dewxin 阅读(88) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2023-11-03 21:18 dewxin 阅读(253) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页