- Preparing search index...
- The search index is not available
feng3d
Function SerializeProperty
- SerializeProperty(): ((target: any, propertyKey: string) => void)
-
Returns ((target: any, propertyKey: string) => void)
-
- (target: any, propertyKey: string): void
-
Parameters
-
target: any
-
propertyKey: string
Returns void
序列化装饰器
在属性定义前使用 @SerializeProperty() 进行标记需要序列化
See
https://docs.unity3d.com/cn/current/ScriptReference/SerializeField.html