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

ControllerAxis2D Class

Extends MonoBehaviour, IAxis2D
Will provide as an IAxis2D the joystick value of an IController.
Note that multiple Axis can be read together, in that case it will return the sum of all axis.

Properties

IController Controller[Get]
ControllerAxis2DUsage Axis[Get]

Protected Fields

bool _started[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )

Member Functions

Vector2 Value ( )
void InjectAllControllerAxis2DActiveState
( IController controller )
void InjectController
( IController controller )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon