Answer the question
In order to leave comments, you need to log in
What to use to recognize mouse clicks in Unity?
Since the System.Windows.Forms library is disabled in Unity, then what should be used to recognize mouse clicks / hold downs?
Input.GetMouseButton is not working, because it requires the button to be pressed.
Answer the question
In order to leave comments, you need to log in
Clamping is a click in essence. Pressing the mouse button 1 game tick will be regarded as a click by the system. Input.GetMouseButtonDown(key) when pressed, will process the event 1 time, if my memory serves me right, there will be no repetitions of each game tick.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question