CreateForPlayMode(Action, string)
Method used by the source generator to create a cleanup entry registered against the Play mode scope. Don't attempt to use this directly.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static DelegateAutoCleanup CreateForPlayMode(Action cleanup, string ownerDescription = "")
Parameters
Returns
Type | Description |
|---|---|
| DelegateAutoCleanup |