Check out example codes for "unity on mousewheel down". It will help you in understanding the concepts better.

Code Example 1

if (Input.GetAxis("Mouse ScrollWheel") > 0f) // forward
 {

 }
if (Input.GetAxis("Mouse ScrollWheel") < 0f) // backwards
{
               
}

Learn ReactJs, React Native from akashmittal.com