Version: 2017.1

BaseInputModule.DetermineMoveDirection

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

Parámetros

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

Descripción

Given an input movement, determine the best MoveDirection.