how to use read mouse wheel input as a float unity code example
Example: unity mouse wheel
Input.mouseScrollDelta.y //Return 1 when up and -1 when down and 0 when the mouse scroll is not rotated
Input.mouseScrollDelta.y //Return 1 when up and -1 when down and 0 when the mouse scroll is not rotated