API reference

InteractorActiveState 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
Property : InteractorProperty
[Get][Set]
Signature
InteractorProperty Property

Protected Methods

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

Methods

InjectAllInteractorActiveState ( interactor )
Signature
void InjectAllInteractorActiveState(IInteractor interactor)
Parameters
interactor: IInteractor
Returns
void
InjectInteractor ( interactor )
Signature
void InjectInteractor(IInteractor interactor)
Parameters
interactor: IInteractor
Returns
void

Inner Enum

InteractorProperty Enum

Enumeration Constants

MemberValue
HasCandidate
1 << 0
HasInteractable
1 << 1
IsSelecting
1 << 2
HasSelectedInteractable
1 << 3
IsNormal
1 << 4
IsHovering
1 << 5
IsDisabled
1 << 6