Attribute that enables a field or a property to be visible in the inspector window in editor.
The types parameter can be either a single type, or a complex combination of types such as:
A ResourceHandle of type Texture: @inspectableField([ResourceHandle, Texture])
An array of type AnimationEvent: @inspectableField([Array, AnimationEvent])
A string: @inspectableField(String)
If a type is not immediately available to the compiler, a lambda can be used to return a type
that is not available at compile type: @inspectableField(() => [HTTPRequestBody])
Attribute that enables a field or a property to be visible in the inspector window in editor. The
typesparameter can be either a single type, or a complex combination of types such as:@inspectableField([ResourceHandle, Texture])@inspectableField([Array, AnimationEvent])@inspectableField(String)If a type is not immediately available to the compiler, a lambda can be used to return a type that is not available at compile type:
@inspectableField(() => [HTTPRequestBody])