OnCodeInitializingAttribute()
Marks the decorated static method to be invoked after Unity has deserialized and restored all managed objects following a code reload.
阅读时间1 分钟最后更新于 5 天前
Definition
- Type: Constructor
- Namespace: Unity.Scripting.LifecycleManagement
- Assembly: Unity.Scripting
public OnCodeInitializingAttribute()