Hi!
I am receiving always zero from Input.mouseScrollDelta.magnitude until one click of a any mouse buttons happens. After it, I receive the correct values in Input.mouseScrollDelta.magnitude.
Is working as spected?
Debug.Log("magnitude " + Input.mouseScrollDelta.magnitude);
if (Input.mouseScrollDelta.magnitude > 0)
{
OnZooming(Input.mouseScrollDelta);
return true;
}
The line code is very simple. If I start the scene and dont click, if I try to use the wheel scrool the magnitude is always zero. But if a click with any mouse button when I use the whell again, magnitude will receive the correct value.
Thanks you.