isIncremental
Reports whether incremental garbage collection is enabled.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Scripting
- Assembly: UnityEngine.CoreModule
public static bool isIncremental { get; }
Remarks
IsIncrementalSet the target length of an incremental collection step with GarbageCollector.incrementalTimeSliceNanoseconds. Manually trigger an incremental garbage collection step with GarbageCollector.CollectIncremental.
Additional Resources: PlayerSettings.gcIncremental.