Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: droweed on November 23, 2013, 09:37:31 AM

Title: Weird Issue, Sprite color property only gets applied once ( dynamically )
Post by: droweed on November 23, 2013, 09:37:31 AM
Hi, as the title stated, I'm having a weird issue, where, someUISprite.color = somevalue, is applied only once.

lets say we open an inventory window, and color it Color.white, it applies the first time,
then we close the window, then re open it, and lets say we change it to a new color dynamically to Color.red,
it doesn't get applied anymore, :(

tried fiddling with the inspector in Play Mode, it does apply the color that I've set manually, so I'm guessing
I probably did something very wrong, and missed something obvious :x

any help would be appreciated.
Title: Re: Weird Issue, Sprite color property only gets applied once ( dynamically )
Post by: ArenMook on November 23, 2013, 08:36:17 PM
Do you have another script on it that alters the color, such as UIButton?