1
NGUI 3 Support / Why does UILabel sometimes become invisible when I use TweenScale
« on: November 03, 2015, 09:25:15 PM »
Hi there
I attached 2 on the GameObject which UIWidget attached.
And this child is attached UILable.
1st.
PlayStyle = "Once".
Duration = 1
Start Delay = 0
Tween Group = 0
Ignore TimeScale = false
2nd.
PlayStyle = "Once".
Duration = 1
Start Delay = 1
Tween Group = 0
Ignore TimeScale = false
And the UIWidget's "Anchors" Execute setting is "On Enable".
I play it by set deactive and set active like below
However... sometimes UILable's text couldn't appear.
it is active and scale is okey. but it can't show in the Game scene
I attached 2 on the GameObject which UIWidget attached.
And this child is attached UILable.
- UIWidget and TweenScalex2
- |-UILable
1st.
PlayStyle = "Once".
Duration = 1
Start Delay = 0
Tween Group = 0
Ignore TimeScale = false
2nd.
PlayStyle = "Once".
Duration = 1
Start Delay = 1
Tween Group = 0
Ignore TimeScale = false
And the UIWidget's "Anchors" Execute setting is "On Enable".
I play it by set deactive and set active like below
- NGUITools.SetActiveSelf(gameObject,false);
- NGUITools.SetActiveSelf(gameObject,true);
However... sometimes UILable's text couldn't appear.
it is active and scale is okey. but it can't show in the Game scene
