Transforms 2d input into a 3d world space vector. E.g., can be used to transform input from a touch joystick to a movement vector.
The horizontal input.
The vertical input.
Input axis are reported in the range -1 to 1, this multiplier lets you set a new range.
Map To Plane
The world plane to map the 2d input onto.
Make the result relative to a GameObject, typically the main camera.
Store the direction vector.
Store the length of the direction vector.