API reference

SequenceActiveState Class

Extends MonoBehaviour
Implements IActiveState

Properties

Active : bool
[Get]
Evaluates the current state of the component and returns whether it is active.
The logic for determining the active state is defined by the implementing class. This method is typically used in interaction scripts to check whether a certain condition is met before triggering an event or action. For example implementations, please refer to HandActiveState.Active and ActiveStateGroup.Active.
Signature
bool Active

Protected Methods

Start ()
Signature
virtual void Start()
Returns
void

Methods

InjectActivateIfStepsComplete ( activateIfStepsComplete )
Signature
void InjectActivateIfStepsComplete(bool activateIfStepsComplete)
Parameters
activateIfStepsComplete: bool
Returns
void
InjectActivateIfStepsStarted ( activateIfStepsStarted )
Signature
void InjectActivateIfStepsStarted(bool activateIfStepsStarted)
Parameters
activateIfStepsStarted: bool
Returns
void
InjectAllSequenceActiveState ( sequence , activateIfStepsStarted , activateIfStepsComplete )
Signature
void InjectAllSequenceActiveState(Sequence sequence, bool activateIfStepsStarted, bool activateIfStepsComplete)
Parameters
sequence: Sequence
activateIfStepsStarted: bool
activateIfStepsComplete: bool
Returns
void
InjectSequence ( sequence )
Signature
void InjectSequence(Sequence sequence)
Parameters
sequence: Sequence
Returns
void