protected void flickHandlerDirection(Vector2 direction) { if (direction.x > 0 || direction.y > 0) { // Debug.Log("Flick horizontal derecha"); ActionMovement(direction); action = ActionShowInput.Right; } else if (direction.x < 0 || direction.y < 0) { // Debug.Log("Flick horizontal izquierda"); ActionMovement(direction); action = ActionShowInput.Left; } }
protected void tappedHandlerDirection() { ActionMovement(Vector2.zero); action = ActionShowInput.Pause; }