API reference

Axis2DActiveState Class

Extends MonoBehaviour
Implements IActiveState

Protected Fields

_started : bool
Signature
bool _started

Properties

AbsoluteValues : bool
[Get][Set]
Signature
bool AbsoluteValues
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
CheckAxis : CheckComponent
[Get][Set]
Signature
CheckComponent CheckAxis
Comparison : ComparisonMode
[Get][Set]
Signature
ComparisonMode Comparison

Protected Methods

Awake ()
Signature
virtual void Awake()
Returns
void
OnDisable ()
Signature
virtual void OnDisable()
Returns
void
Start ()
Signature
virtual void Start()
Returns
void
Update ()
Signature
virtual void Update()
Returns
void

Inner Enums

CheckComponent Enum

Enumeration Constants

MemberValue
Any
0
X
1
Y
2
All
3

ComparisonMode Enum

Enumeration Constants

MemberValue
GreaterThan
0
LessThan
1