Accessing Inputs
There are three input types, each extendsSMIInput (State Machine Input):
SMIBoolcontains a.Valueproperty, a boolean that can be set to true or false.SMITriggeris a boolean that is set to true for one frame by calling the.Fire()method.SMINumbercontains a.Valueproperty, 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: