Welcome,
Guest
. Please
login
or
register
.
May 03, 2026, 11:06:45 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIButton and UIButtonScale behave differently
« previous
next »
Print
Pages: [
1
]
Author
Topic: UIButton and UIButtonScale behave differently (Read 3061 times)
UndeadMatt
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 2
UIButton and UIButtonScale behave differently
«
on:
July 15, 2014, 01:51:09 PM »
When you hold and drag off a button, the UIButton color tweens as soon as the cursor is off the button. The UIButtonScale does not tween until the mouse button is released.
create UIButton
make sure Pressed color is different than Normal color
add UI Button Scale
assign the button
add a noticeable scale
hit play
click and hold on the button
with the mouse held, drag off the button. Notice how the color returns to its Normal state, but the scale remains pressed.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UIButton and UIButtonScale behave differently
«
Reply #1 on:
July 15, 2014, 10:56:51 PM »
Yup, that's because the button scale script doesn't handle OnDragOver / OnDragOut events, while the button color script does.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIButton and UIButtonScale behave differently