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

InteractorActiveState Class

Extends MonoBehaviour, IActiveState
Presents an interactor's state as an IActiveState, which will become active when selected propert(ies) of an IInteractor are recognized.

Member Enumerations

Enumeration InteractorProperty

The property of the IInteractor to track with the InteractorActiveState
HasCandidate
Does the interactor have a candidate
HasInteractable
Does the interactor have an interactable
IsSelecting
Is the interactor selecting
HasSelectedInteractable
Does the interactor have a selected interactable
IsNormal
Is the interactor in the InteractorState.Normal state
IsHovering
Is the interactor in the InteractorState.Hover state
IsDisabled
Is the interactor in the InteractorState.Select state

Properties

The InteractorProperty that will be tested against.
When any of these conditions in Property are met, this IActiveState will become Active.

Protected Functions

virtual void Awake ( )
virtual void Start ( )

Member Functions

Injects all required dependencies for a dynamically instantiated InteractorActiveState.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying IInteractor for a dynamically instantiated InteractorActiveState.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon