Version: Unity 6 (6000.0)
Language : English
IUnityMemoryManager API reference
Asynchronous programming

Code optimization

Considering performance in all the code you write helps your project scale without bottlenecks. There are several ways you can improve performance, including avoiding bad practices, profiling your code, implementing appropriate design patterns, and using techniques like asynchronous programming to split work across multiple threads of execution.

Topic Description
Asynchronous programming Asynchronous programming in Unity with the .NET async and await keywords and Unity’s own custom Awaitable class.
Job system Use Unity’s own Job system to get the most out of multi-core CPUs and parallelize your algorithms.

Additional resources

IUnityMemoryManager API reference
Asynchronous programming
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961