Question by
sgtpendulum · Jan 14 at 12:49 PM ·
inputwebglfocus
When I go into focus of a Unity WebGL game, it acts as if I was spamming left click
It only seems to occur in the build and not in the editor.
When I enter focus of the game for the first time, the game acted as if I was spamming left click, but when I place a debug.log in the code block where it executes when the input detects a left mouse button down, it only fired off once.
After I click again for real, however, this behavior stops and it continues as per normal.
Comment
Your answer
Follow this Question
Related Questions
Why is input mouse clicking not working on WebGL build? 0 Answers
Can I force BaseInputModule.Process to fire when window does not have focus? 1 Answer
keyboard Inputs are not working in webgl? 2 Answers
Does Unity WebGL support Xbox One controllers? (as of 5.4.0f3) 1 Answer
How to prevent an input from losing focus OnMouseExit? 1 Answer