Skip to main content

State$1

ZEPETO.Character.Controller.State$1

Represents a state within a state machine.

Type parameters

NameDescription
TEnumType of state, constrained to be an enumeration.

Hierarchy

Constructors

constructor

new State$1<TEnum>()

Type parameters

NameDescription
TEnumDefines the type that influences the available options, functionality, and behavior of the State$1 object.

Inherited from

System.Object.constructor

Properties

OnUpdateState

OnUpdateState: Action$1<TEnum>

Callback function to handle the state update.

Accessors

Status

get Status(): StateStatus

Status of the state.

Returns

StateStatus


stateType

get stateType(): TEnum

Type of the state.

Returns

TEnum