DelegateAutoCleanup
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.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: Unity.Scripting
- Inherits from: ClassAutoCleanup
public sealed class DelegateAutoCleanup : ClassAutoCleanup
Constructors
Constructor | Description |
|---|---|
| DelegateAutoCleanup(System.Action,System.Type,System.String) | Constructor used by the source generator. Don't attempt to use this directly. |
Static Methods
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. |