Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Tripwire on June 23, 2014, 07:57:57 AM

Title: TweenScale and UIButton / UILabel problems
Post by: Tripwire on June 23, 2014, 07:57:57 AM
Hi,

I have the following screen:
-Container
--Panel
---ScrollView
----Grid
-----Button01 container
------ButtonSprite
------ButtonLabel
-----Button02 container
------ButtonSprite
------ButtonLabel
-----Button03 container
------ButtonSprite
------ButtonLabel

With a total of 14 buttons.

The screen get's TweenScaled to Vector.One when the user clicks on a button and when the user clicks a button in the scrollview is scales back to the starting state.

The starting state of the screen is:
x: 0.01f
y: 0.01f
z: 0.01f

When TweenScaling not all buttons should be active so sometimes the first 5 buttons are active and sometimes all the buttons are active. The problem I'm having, is when I TweenScale the screen get's active but doesn't always show the label below the buttons or even the whole button with the labels. When I click on the button the label show up. When I look in the Hierarchy the buttons are active, the labels are active but they won't show up :(.
Title: Re: TweenScale and UIButton / UILabel problems
Post by: ArenMook on June 24, 2014, 03:15:55 AM
That seems odd. Can you give me a repro case to look at?
Title: Re: TweenScale and UIButton / UILabel problems
Post by: Tripwire on June 25, 2014, 04:12:31 AM
That seems odd. Can you give me a repro case to look at?

I'll try and reproduce it tonight. If I can't reproduce it, can I send you the project so you can take a look at it?
Title: Re: TweenScale and UIButton / UILabel problems
Post by: ArenMook on June 25, 2014, 07:30:25 AM
Depends on how large of a project we're talking about. Generally the bigger the project the less likely is it to be useful in determining the issue.