Question by
rin-chan · May 05, 2017 at 03:50 PM ·
eventonmousedownframeonmouseup
mouse event when frame loss
The question is when the frame loss happens, would mouse events works correctly? for example, Onmouseup and Onmousedown, if it lost the frame when mouse is released, would onmouseup be called?
Comment
Answer by SeRasul · May 27, 2017 at 10:48 AM
No, there is no missing as i know. Cause unity horrible build-in methods like this disgusting one checks every frame - is mouse pressed, pressing or realised. Yeah, if frame in your game takes perseptible time, so 1) your game sucks 2) function like OnMouseDown will not give you correct information, maybe.
Your answer
![](https://koobas.hobune.stream/wayback/20220612121345im_/https://answers.unity.com/themes/thub/images/avi.jpg)