This version of Unity is unsupported.

BaseInputModule.DetermineMoveDirection

Declaration

protected static EventSystems.MoveDirection DetermineMoveDirection(float x, float y);

Declaration

protected static EventSystems.MoveDirection DetermineMoveDirection(float x, float y, float deadZone);

Parameters

x X movement.
y Y movement.
deadZone Dead zone.

Description

Given an input movement, determine the best MoveDirection.