private Vector3 _velosity;
// В АПДЕЙТЕ
case TouchPhase.Moved:
_velosity += transform.right * Mathf.Clamp(touch.deltaPosition.x, -_sensitivityLimiter, _sensitivityLimiter) * _sensitivity;
break;
//
private void FixedUpdate()
{
Move();
}
private void Move()
{
_rigitbody.velocity = transform.forward * _moveSpeed + _velosity;
_velosity = Vector3.zero;
}