Interactor Interactable Lifecycle
The interaction lifecycle represents the possible statuses of an
Interactor or
Interactable. There are four possible statuses: Disabled, Normal, Hover, and Select. Each status is an
Active State.
Interactors and Interactables can only move between these states as follows:
Disabled <-> Normal <-> Hover <-> Select
Interactors can be in any of the following states:
Disabled: The Interactor is in a disabled state where no hovering or selection can occur.
Normal: The default state.
Hover: The Interactor is in a state where it can select (may have optional Interactable).
Select: The Interactor is selecting (may have optional Interactable).
The cube is using the InteractorDebugVisual component to visually display the current state of a PokeInteractor. The interactor goes from normal (red) to hover (blue) and finally to select (green).
Interactables can be in any of the following states:
Disabled: The Interactable is in a disabled state where no hovering or selection can occur.
Normal: The default state.
Hover: The Interactable has one or more Interactors hovering (and none selecting it).
Select: The Interactable has one or more Interactors selecting it.