Version: Unity 6.3 Beta (6000.3)
Language : English
Native plug-in API for logging
Asynchronous programming with the Awaitable class

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.
Optimizing your code for managed memory Approaches for optimizing your code to work with managed memory.

Additional resources

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