class in UnityEngine
/
Inherits from:Unity.Scripting.LifecycleManagement.CodeGen.ClassAutoCleanup
Class used by the source generator to reset static variables when entering or exiting Play mode with domain reload disabled. Don't attempt to use this class directly.
| Constructor | Description |
|---|---|
| DelegateAutoCleanup | Constructor used by the source generator. Don't attempt to use this directly. |
| Method | Description |
|---|---|
| CreateForPlayMode | Method used by the source generator to create a cleanup entry registered against the Play mode scope. Don't attempt to use this directly. |