Welcome,
Guest
. Please
login
or
register
.
September 15, 2024, 01:42:30 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
2 clicks firing
« previous
next »
Print
Pages: [
1
]
Author
Topic: 2 clicks firing (Read 1568 times)
wijesijp
Guest
2 clicks firing
«
on:
March 15, 2013, 07:50:23 AM »
In my game I have one UIButton for unlocking a feature and equipping it. When the player clicks the unlock button i change it text to “equip”. When he click that i change the text to “selected”
When I test it on the computer it is working as expected.
When I test on the Android device the unlock button goes immediately to selected state. What's happening is the button get clicked twice.
what is the standard method to stop this from happening?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: 2 clicks firing
«
Reply #1 on:
March 16, 2013, 11:05:49 AM »
Unity Remote sends both mouse and touch events, which effectively duplicates events.
Uncheck "mouse" on the UICamera, or don't use Unity Remote.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
2 clicks firing