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.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static DelegateAutoCleanup CreateForPlayMode(Action cleanup, string ownerDescription = "")
Parameters
Returns
Type | Description |
|---|---|
| DelegateAutoCleanup |