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

パラメーター

xX 方向の移動
yY 方向の移動
deadZoneデッドゾーン

説明

与えられた移動に対し、最適な MoveDirection が決定されます