ClassAutoCleanup
This class supports code generation for the AutoStaticsCleanupAttribute and is public to allow the code generator to subclass it in Unity project code. Don't attempt to use this class directly.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Class
- Namespace: Unity.Scripting.LifecycleManagement.CodeGen
- Assembly: Unity.Scripting
public abstract class ClassAutoCleanup
Methods
Method | Description |
|---|---|
| Cleanup | Resets the static state of the class that the code generator produced this cleanup for. Unity calls this method; don't call it directly. |