unity中管理内存_新的最佳实践指南– Unity中的内存管理

unity中管理内存

Here in Enterprise Support, we get to help out on many projects, with all kinds of combinations of Unity features. What we see is that 10 out of 10 games can improve their memory usage. That’s why we put together our newest best practice guide: Memory Management in Unity.

Enterprise Support中 ,我们可以通过Unity功能的各种组合为许多项目提供帮助。 我们看到的是,十分之十的游戏可以提高内存使用率。 因此,我们整理了最新的最佳实践指南: Unity中的内存管理

When we go on-site, profiling is always the first order of the day. Whether we’re uncovering coding patterns that add small but unnecessary burdens to the CPU or substantial issues that cause memory fragmentation and Asset duplication, profiling your game early and often is the best way to keep tabs on application health. The most successful teams profile their projects’ memory.

当我们去现场时, 剖析 始终是第一天的 事情 。 无论我们是在发现编码模式,这些编码模式都会给CPU带来小而不必要的负担,还是会导致内存碎片和资产重复的实质性问题,因此,尽早对游戏进行性能分析并通常是保持应用程序运行状况的最佳方法。 最成功的团队会描述他们的项目记忆。

Memory is an exceptionally scarce resource (particularly on mobile devices with up to 1GB of memory, which represent 30% of the market today), so it is absolutely essential that you know where your memory is going and why. With memory being managed differently across platforms, it’s not always trivial to understand where memory is being consumed and what influence it has on CPU and GPU performance.

内存是一种非常稀缺的资源(尤其是在内存高达1GB的移动设备上,这代表了当今市场的30%),因此绝对重要的是要知道内存的去向以及原因。 由于跨平台对内存的管理方式不同,因此了解内存消耗位置及其对CPU和GPU性能的影响并不总是一件容易的事。

But fear not! We’ve created a new best practice guide: Memory Management in Unity. This guide introduces the wide variety of tools available for memory profiling, and dives into the details of how to use them effectively. By using the techniques in this guide in conjunction with the best practices for minimizing memory usage, you will be able to effectively identify and fix problem areas.

但是不要害怕! 我们创建了一个新的最佳实践指南: Unity中的内存管理 。 本指南介绍了可用于内存配置的各种工具,并深入探讨了如何有效使用它们的详细信息。 通过结合使用本指南中的技术和 最佳实践以最大程度地减少内存使用 ,您将能够有效地识别和修复问题区域。

So you read all of the above and are still itching to dive into more juicy best practices? You’re in luck! While Memory Management in Unity is the latest installment, you can also check out all the other Best Practice Guides we’ve put together, each containing a number of tips and strategies to win back performance and make your project the best it can be:

因此,您阅读了以上所有内容之后,仍然渴望探索更多实用的最佳实践吗? 你真幸运! 虽然 Unity 中的 内存管理 是最新的一期,但您也可以查看我们整理的所有其他最佳实践指南,每本指南都包含许多技巧和策略,可以提高性能并使您的项目达到最佳状态:

We update and add to these guides regularly, so be sure to check back once in a while to see what has changed!

我们会定期更新并添加这些指南,因此请务必不时检查一下,看看有什么变化!

翻译自: https://blogs.unity3d.com/2018/06/27/new-best-practice-guide-memory-management-in-unity/

unity中管理内存

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值