- Home /
Question by
ThiagoTejo · Oct 13, 2013 at 01:50 AM ·
mousedetectionfastgetbuttondowngetbutton
More Accurracy on Mouse Click Detection.
Hello folks. I'm making a hack'n slash game, and the character attacks with the mouse. The problem is, that the mouse detection is'nt perfect... if i click slowly, it gets every click, but when fast clicking, it misses some times. I'm usign "GetButtonDown", but if i use "GetButton" only, it gets perfect, but the problem is, that if i hold the button, the character continues to attack, and i dont want this... Someone have a solution? Thanks, and sorry for my bad english...
Comment