OnCodeDeinitializingAttribute()
Marks the decorated static method to be invoked before Unity serializes managed objects in preparation for a code reload. Methods are called in reverse registration order.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: Unity.Scripting.LifecycleManagement
- Assembly: Unity.Scripting
public OnCodeDeinitializingAttribute()