Class InspectableMethod<T>

The InspectableMethod provides accessto meta-data about method in an object. The primary use-case for this class is type reflection within the Inspector APIs.

Type Parameters

  • T extends object

Constructors

Properties

Methods

Constructors

Properties

name: string

Returns the name of the method.

The parent serializable object to call the method on.

reflectionMember: ReflectionMember

The ReflectionMember that is being inspected.

All attributes of the inspector method. Determines how the method show be displayed on the UI.

Methods

  • Invokes the method.

    Parameters

    • Rest...parameters: any[]

      The parameters to be given to the method invocation.

    Returns any

    The method return value, if any. Will be null if the method return type is void.