Quantcast
Channel: Answers for "Gui Buttons Single and Double click"
Browsing index pages (6 articles)
↧

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


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 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 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

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 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
Browsing index pages (6 articles)


Latest Images