Version: 2021.2
言語: 日本語
public static bool gcIncremental ;

説明

Allows you to enable or disable incremental mode for garbage collection.

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 Understanding Automatic Memory Management.