how do i return the value for the direction of the mouse scroll? thanks in advance.
void OnGUI()
{
if (Event.current.type == EventType.ScrollWheel)
print("Scroll > " + Event.current.delta);
}
how do i return the value for the direction of the mouse scroll? thanks in advance.
void OnGUI()
{
if (Event.current.type == EventType.ScrollWheel)
print("Scroll > " + Event.current.delta);
}