Quantcast
Channel: Answers for "Gui Buttons Single and Double click"
Browsing latest articles
Browse All 6 View Live

Answer by spinaljack

save a time stamp for the last click and then check the current click to see if it is less than a short amount of time. e.g.var lastClick : float = 0; if(GUI.Button(Rect(someRect),"double click...

View Article


Answer by cncguy

Do just what spinal Jack said but also save a reference to the rectangle used as the Rect() in drawButton. Then on the second click check the time and also check to see if the saved rect contains the...

View Article


Answer by problogger

heya.....i want a code such that i when i click a button.it automatically clicks all other specified buttons...................regards http://aweeklyriddle.blogspot.com/

View Article
Browsing latest articles
Browse All 6 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>