API reference
API reference
Select your platform
No SDKs available
No versions available

ActivationStep Class

Wrapper for IActiveStates which are to be incorporated into a Sequence.
This type is exclusively intended to be used as part of a Sequence, and details of its intended usage and expected behavior are documented in the remarks for that type.

Properties

The IActiveState whose activation is the condition for completing an ActivationStep of the containing Sequence.
For a detailed overview of the function of ActivationSteps and their role in Sequences, please see the documentation for Sequence.

Fields

The minimum amount of time for which ActiveState must be active in order for this ActivationStep to be considered completed.
For a detailed overview of the function of ActivationSteps and their role in Sequences, please see the documentation for Sequence.
The maximum amount of time a Sequence can remain in this ActivationStep (without proceeding to the next one) before the Sequence "fails out" and must start again from the beginning.
For a detailed overview of the function of ActivationSteps and their role in Sequences, please see the documentation for Sequence.

Member Functions

Basic constructor for ActivationStep.
Should not be called directly. This empty constructor is typically invoked by Unity logic when deserializing a serialized-and-saved ActivationStep.
Constructor for constructing new ActivationSteps programmatically.
Parameters
activeState
The IActiveState to be assigned to ActiveState
minActiveTime
The float value to be assigned to MinActiveTime
maxStepTime
The float value to be assigned to MaxStepTime
Method invoked when a Sequence "moves into" this ActivationStep.
This method should only ever be invoked by the internal logic of its containing Sequence.
Did you find this page helpful?