• 参数

    • info: FPropertyType | Partial<FPropertyDescriptor>

      The type of the property, such as Number, "number", [Number], ["Record", Number], etc. Or pass an object describing detailed information, e.g., { type: "string", multiline: true }.

    返回 any

    Use this decorator to make a property visible in the editor's property panel and serializable.

    使用这个装饰器,可以使属性显示在编辑器属性设置面板上,并且能序列化保存。