|
I'm trying to enable double clicking on my gameobject to rotate it by a preset number of degrees, Looking in the docs it appears that the Event.current.clickCount property is just for use with GUI.
(comments are locked)
|
|
Here's a somewhat less complicated way:
Note, the double-click sensitivity is determined by the 0.3f float value. This is the amount of time allowed between clicks to register a double click. Also, the start time is re-set to a negative number when a double click is triggered, so that three clicks in quick succession does not trigger two double click events - they're only triggered in pairs. btw, where did u define the mouse button you use?
Feb 08 '11 at 07:02 AM
lisor15
(comments are locked)
|
|
I have one semi solution here which works currently, but the trapDoubleClicks function is called again while triggering the double click. There's got to be an easier way for this, but i couldn't find it in my searching!
(comments are locked)
|
|
Solved
(comments are locked)
|
|
Solved
(comments are locked)
|
