Version: 2020.3
言語: 日本語


class in UnityEngine.Scripting



API to control the garbage collector on the Mono and IL2CPP scripting backends.

See GarbageCollector.GCMode for how to change the global garbage collector operation mode.

Static 変数

GCModeSet and get global garbage collector operation mode.
incrementalTimeSliceNanosecondsThe target duration of a collection step when performing incremental garbage collection.
isIncrementalReports whether incremental garbage collection is enabled.

Static 関数

CollectIncrementalPerform incremental garbage collection for the duration specified by the nanoseconds parameter.


GCModeChangedSubscribe to this event to get notified when GarbageCollector.GCMode changes.