void OnPointerUp() { HideController(); switch (diretion) { case MovementDirections.Right: mainCh.Dash(pointerDirection); break; case MovementDirections.Left: mainCh.Dash(pointerDirection); break; case MovementDirections.Jumping: mainCh.Jump(pointerDirection); break; default: break; } }