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.
阅读时间1 分钟最后更新于 14 天前
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. |