Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Notus on August 22, 2014, 04:49:17 AM

Title: change color.a it applies to children
Post by: Notus on August 22, 2014, 04:49:17 AM
I have same hierarchy:
sprite1 (parent)
-sprite2 (children)
Both sprites from one atlas. I change color.a from sprite1 and it applies to sprite2. But i don't want this.
How i can switch off this?
Title: Re: change color.a it applies to children
Post by: ArenMook on August 23, 2014, 02:46:20 AM
Alpha is cumulative. Fading out the parent will fade out the child as well.

If you don't want it, don't parent them to each other.