GameObjects:
UISprite with Size 662x632 and Anchors on Unified Left/Right/Bottom/Top 0
Target is the parent UIWidget with the same Size 662x632 and Achors on Unified Left 20 / Right -342 / Bottom 20 / Top -116. Target is the parent UIPanel, which is empty and a child of UI Root (FixedSize, 768)
On the UISprite is a TweenHeight (From 2 To 632) as component.
Problem:
On Editor-Play-Mode with ScreenSize 1024x768 there is all fine. The UISprite changes its height as soon as the Tween is playing. From 662x2 to 662x632.
On iPad4 (and other devices) there is the following problem: Before the Tween will be started, all values are right. In the moment, when the tween send the first value, the width jumps to 1324. So the UISprite goes from 1324x2 to 1324x632.
It seems that TweenHeight use the real resolution from the iPad 2048x1536 and double the local width of the UISprite.
Without TweenHeight all works fine.
Questions
So maybe there is a bug? And shouldn't send TweenHeight only the height value, not the whole localsize? Or its there something wrong with my thoughts and settings?
Temporary Solution
As a temporary solution i put the TweenHeight on a separate, empty UIWidget and read out the height value with an extra script and send it to the UISprite.
NGUI Version
3.6.8