Reputation: 5
I embedded my unity webGL game into a vite+react typescript site component using the react-unity-webgl npm package. Works fine. But the embedded game does not accept any mouse click input in firefox. It works on chromium based browsers and partially on firefox fork mercury. It does accept mouse scroll wheel inupt as well as the mouse position, but not mouse click input. I‘m new to web development, but i have noticed some exceptions with firefox before.
How can I enable mouse click input for my embedded unity webgl game?
Upvotes: -2
Views: 49