if(Input.GetInput(KeyCode.MouseWeelUP)) UNITY code example
Example: unity on mousewheel down
if (Input.GetAxis("Mouse ScrollWheel") > 0f) // forward
{
}
if (Input.GetAxis("Mouse ScrollWheel") < 0f) // backwards
{
}
if (Input.GetAxis("Mouse ScrollWheel") > 0f) // forward
{
}
if (Input.GetAxis("Mouse ScrollWheel") < 0f) // backwards
{
}