Version: 2023.1
public static bool gcIncremental ;

描述

用于启用或禁用垃圾收集增量模式。

Incremental mode is a feature which tries to reduce the interruption times caused by garbage collection. When enabled, the garbage collection task is split into smaller slices which are performed incrementally instead of all at once. Instead of fewer long interruptions you will get more shorter interruptions, which could benefit the consistency of your project's frame rate and make your content run smoother. To learn more about how to judge whether this will benefit your project, see Memory in Unity.

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