Welcome,
Guest
. Please
login
or
register
.
May 09, 2026, 04:16:12 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Example 3, OnClick can be triggered more than 1 time.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Example 3, OnClick can be triggered more than 1 time. (Read 6086 times)
yuewah
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 180
Example 3, OnClick can be triggered more than 1 time.
«
on:
May 28, 2012, 12:42:16 AM »
Example 3, OnClick can be triggered more than 1 time during the Panel Transition if the option button is double clicked.
Can it limited to Single Click only ?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Example 3, OnClick can be triggered more than 1 time.
«
Reply #1 on:
May 28, 2012, 01:17:19 AM »
Each click results in the OnClick message. There is also OnDoubleClick. If you only want to react to the first one, there is also OnSelect you can use.
Logged
yuewah
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 180
Re: Example 3, OnClick can be triggered more than 1 time.
«
Reply #2 on:
May 28, 2012, 01:48:12 AM »
I cannot find OnSelect or OnDoubleClick in AnimationOrTween.Trigger
«
Last Edit: May 28, 2012, 01:53:35 AM by yuewah
»
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Example 3, OnClick can be triggered more than 1 time.
«
Reply #3 on:
May 28, 2012, 02:42:06 AM »
Ah, no, it's not in the animationortween. You can always disable the script or the collider once it starts animating though.
Logged
yuewah
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 180
Re: Example 3, OnClick can be triggered more than 1 time.
«
Reply #4 on:
May 28, 2012, 04:22:51 AM »
Why UIButtonPlayAnimation.trigger does not contain all the Triggers ?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Example 3, OnClick can be triggered more than 1 time.
«
Reply #5 on:
May 28, 2012, 11:35:02 AM »
Mainly because no one has asked for them.
I've added them on my end, and you will see them in the next update.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Example 3, OnClick can be triggered more than 1 time.