To disable mouse scroll detection from the webGL view

Hi,

Trying to cancel the Mouse Scroll detection from the WebGL view.

What I am trying to achieve is to let the user being able scrolling an entire page and not being stooped if the mouse cursor cross by the webGL view.

I tried the following on a single object from empty scene and empty project. But nothing to do.

void Start ()
    {
        #if !UNITY_EDITOR && UNITY_WEBGL
        WebGLInput.captureAllKeyboardInput = false;
        #endif
    }

Any tips?

Thanks by advance guys :slight_smile:

1 Like

bump… :frowning: