Represents a sequence of haptic steps played in order. Each step contains an optional delay and a GamepticSignal. The runtime may interpret the sequence as repeated pulses or a short pattern. More...
Public Member Functions | |
| GamepticSequence (params GamepticSequenceStep[] sequenceSteps) | |
| Creates a sequence from steps for runtime usage. Unity serialization uses the default constructor and inspector. | |
| GamepticSequence () | |
| Creates a default sequence instance for Unity serialization. | |
Properties | |
| GamepticSequenceStep[] | Steps [get] |
| Steps played in order. | |
| float | DurationSeconds [get] |
| Gets total duration of the sequence in seconds. Includes DelaySeconds and Signal.DurationSeconds for each step. Returns 0 when Steps is null or empty. | |
Represents a sequence of haptic steps played in order. Each step contains an optional delay and a GamepticSignal. The runtime may interpret the sequence as repeated pulses or a short pattern.