API reference

LocomotionAxisTurnerInteractor Class

Implements IAxis1D
LocomotionAxisTurner transforms Axis2D value into Axis1D value.
When the value becomes bigger than the deadzone, the interactor goes into Hover and Select state.

Properties

DeadZone : float
[Get][Set]
The Axis.x absolute value must be bigger than this to go into Hover and Select states.
Signature
float DeadZone
ShouldHover : override bool
[Get]
Signature
override bool ShouldHover
ShouldUnhover : override bool
[Get]
Signature
override bool ShouldUnhover

Protected Methods

Awake ()
Signature
override void Awake()
Returns
override void
ComputeCandidate ()
Signature
override LocomotionAxisTurnerInteractable ComputeCandidate()
ComputeShouldSelect ()
Signature
override bool ComputeShouldSelect()
Returns
override bool
ComputeShouldUnselect ()
Signature
override bool ComputeShouldUnselect()
Returns
override bool
DoPreprocess ()
Signature
override void DoPreprocess()
Returns
override void
OnDisable ()
Signature
override void OnDisable()
Returns
override void
Start ()
Signature
override void Start()
Returns
override void

Methods

InjectAllLocomotionAxisTurner ( axis2D )
Signature
void InjectAllLocomotionAxisTurner(IAxis2D axis2D)
Parameters
axis2D: IAxis2D
Returns
void
InjectAxis2D ( axis2D )
Signature
void InjectAxis2D(IAxis2D axis2D)
Parameters
axis2D: IAxis2D
Returns
void
Value ()
Signature
float Value()
Returns
float