Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity on mousewheel down

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

 }
if (Input.GetAxis("Mouse ScrollWheel") < 0f) // backwards
{
               
}
 
PREVIOUS NEXT
Tagged: #unity #mousewheel
ADD COMMENT
Topic
Name
1+5 =