- Home /
Question by
NarsunNouman · Jan 10 at 01:06 PM ·
inputmacscrollscrollwheel
How to check if mac OS's natural scrolling is on or off?
In my fishing game the player has to rotate the mouse wheel towards himself to pull the fish. I am using Input.mouseScrollDelta.y to get scroll wheel input. It works fine on windows where I get -1 if I scroll down but on MacOS there is an option of 'natural scrolling' which when turned on will give 1 on Scroll down -1 when turned off. How do I make sure that the scroll wheel is rotated downwards (towards the player)?
Comment