BaseInputModule.DetermineMoveDirection

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

Parameters

xX movement.
yY movement.
deadZoneDead zone.

Description

Given an input movement, determine the best MoveDirection.

Did you find this page useful? Please give it a rating: