网络 上有很多 关于 unity 的 性能优化的 教程,主要还是以Unity官方教程为主。毕竟 Unity引擎的作者是最了解自己的作品的。
实际上优化的本质:尽可能的在不影响游戏整体的情况下,减少计算机CPU的计算次数,减轻内存负担。
- 教程
- Performance Optimization性能优化
Performance Optimization性能优化
Learn how to diagnose common performance problems and optimize your projects.了解如何诊断常见性能问题并优化项目。
Diagnosing performance problems诊断性能问题
Profiler窗口
2. Diagnosing performance problems using the Profiler window
使用Profiler窗口诊断性能问题
Fixing performance problems解决性能问题
1. Optimizing scripts in Unity games优化Unity游戏中的脚本
2. Optimizing garbage collection in Unity games优化Unity游戏中的垃圾收集
3. Optimizing graphics rendering in Unity games优化Unity游戏中的图形渲染
参考资料:
1.
2.