DEPRECATION NOTICE: This entire page documents the legacy system.
For new projects: Use Data Binding instead.
For existing projects: Plan to migrate from to Data Binding as soon
as possible. This content is provided for legacy support only.
Accessing Inputs
There are three input types, each extendsSMIInput
(State Machine Input):
SMIBool
contains a.Value
property, a boolean that can be set to true or false.SMITrigger
is a boolean that is set to true for one frame by calling the.Fire()
method.SMINumber
contains a.Value
property, a float that can be set to any value.
Access by name
Retrieve a state machine input by name and type. Trigger:Access by index
Get the input count (length) and retrieve by index:Access all inputs
Retrieve a list of allSMIInputs
: