CreateForCodeLoad(Action, string)
Method used by code generators to create a cleanup entry that runs when scripts are reloaded. Don't attempt to use this directly.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: Unity.Scripting
public static DelegateAutoCleanup CreateForCodeLoad(Action cleanup, string ownerDescription = "")
Parameters
Returns
Type | Description |
|---|---|
| DelegateAutoCleanup |