Function display

  • Decorates a property to be displayed as a child of the containing object. Supported for GameObject values, or string / number values to display them as text.

    Parameters

    • Optional options: IDisplayOptions

      Optional positioning and styling options.

    Returns PropertyDecorator

  • Decorates a property to be displayed as a child of the containing object. Supported for GameObject values, or string / number values to display them as text.

    Type Parameters

    • TParent = object

    • TValue = unknown

    Parameters

    • optionsFn: DisplayOptionsFunc<TParent, TValue>

      Function invoked whenever this property is rendered, to dynamically control how it is displayed.

    Returns PropertyDecorator

Generated using TypeDoc