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
En
Use this decorator to make a property visible in the editor's property panel and serializable.
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 }.