Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: rain on February 13, 2014, 12:12:12 PM

Title: Panel and TweenAlpha bug
Post by: rain on February 13, 2014, 12:12:12 PM
Hi!

I found a possible bug regarding panels and a TweenAlpha script, here's how to reproduce it:

1.)Create a 2D UI
2.)Create a Panel ("Panel-A")
3.)Create a Panel ("Panel-B") as a child of Panel-A
4.)Create a sprite as a child of Panel-B
5.)Place a TweenAlpha script on Panel-A
   Enabled
   From:1 
   To:0
   OnFinished: TweenAlpha.ResetToBeginning()
6.) Press play
Panel alpha fades to zero, OnFinished sets the alpha to 1 on finish but the panel's content stays invisible.

Newest NGUI with Unity 4.3.0f4, dunno if this happens on other Unity versions as well.
Title: Re: Panel and TweenAlpha bug
Post by: ArenMook on February 14, 2014, 05:40:11 AM
Yarrr, this was already fixed in 3.5.0, but thanks.
Title: Re: Panel and TweenAlpha bug
Post by: rain on February 14, 2014, 05:44:53 AM
I guess 3.5.0 is only available for Pro dudes now, right?
Title: Re: Panel and TweenAlpha bug [fixed in 3.5.0]
Post by: ArenMook on February 14, 2014, 05:46:01 AM
Until I'm done with it, yup.
Title: Re: Panel and TweenAlpha bug [fixed in 3.5.0]
Post by: rain on February 21, 2014, 10:13:22 AM
I just tested this problem in NGUI 3.5.0b and it still happens for me.
Title: Re: Panel and TweenAlpha bug
Post by: ArenMook on February 21, 2014, 01:34:10 PM
Must be a different issue then. I'll look into it.