unity mouse wheel axis code example
Example 1: unity mouse scroll wheel axis
Input.GetAxis("Mouse ScrollWheel")
Example 2: unity on mousewheel down
if (Input.GetAxis("Mouse ScrollWheel") > 0f) // forward
{
}
if (Input.GetAxis("Mouse ScrollWheel") < 0f) // backwards
{
}