I use build-in Joystick. The controller handler looks like this:
public void Move(Vector2 direction) { transform.Translate(direction * Time.deltaTime * Speed); } Faced a problem: when direction in call chains has the same value (for example, Vector2(1f, 0f) ), that is, the object moves in the same direction, then the speed of the object is the same. But as soon as I start pulling the joystick controller along the Y axis ( Vector2(1f, anyf) ), the object starts moving faster along the X axis. Why is this happening and how to fix it?