Welcome,
Guest
. Please
login
or
register
.
November 01, 2025, 01:54:50 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Unable to animate widget colour now
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unable to animate widget colour now (Read 4228 times)
kruncher
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 78
Unable to animate widget colour now
«
on:
December 10, 2013, 01:01:43 AM »
Hey there
I have just finished updating my GUI to use the fantastic new layout system which was introduced a couple of days ago and am absolutely loving it! I tend to find myself using the "Unified" and "Advanced" mode most and they are great
I have noticed that the widget colour no longer animates though. The colour adjusts properly in the inspector, but the visual representation does not update unless I toggle the panel off/on.
Any ideas?
Cheers!
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Unable to animate widget colour now
«
Reply #1 on:
December 10, 2013, 01:03:27 AM »
'f1' release only has Unified and Advanced, and others have been removed for simplicity.
How do you animate your color? Normally to animate widget color at run-time from an animation, use UIAnimatedColor intermediary script.
Logged
kruncher
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 78
Re: Unable to animate widget colour now
«
Reply #2 on:
December 10, 2013, 01:05:43 AM »
I animated the colour using using the animation window by creating two keyframes. This has been working great, but seems to have broken recently.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Unable to animate widget colour now
«
Reply #3 on:
December 10, 2013, 01:17:48 AM »
Unless you used the UIAnimatedColor intermediary script, the fact that it was working for you must have been a fluke as modifying private variables like "MColor" that show up in the animation window isn't the way to go as NGUI doesn't check those for changes.
Logged
kruncher
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 78
Re: Unable to animate widget colour now
«
Reply #4 on:
December 10, 2013, 01:25:51 AM »
Ah, must have been a fluke!
I wasn't aware of the intermediary script, made the adjustment and works again!
Thanks
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Unable to animate widget colour now