16
NGUI 3 Support / UIAnchor and UIStretch wrong update in editor
« on: August 06, 2012, 06:13:08 AM »
I have some wired behavior with the UIAnchor and UIStretch components inside of the editor.
I have a UIAnchor set to TopLeft at a resolution of 480X320
Is it possible that this scripts are using the scene view in this case because it does not fit at all with the game view.
A nearly the same problem i have with the scale of UIStretch
My understanding is that this should be only reacting to the Game view and not the Scene view.
The current Behavior makes testing very annoying.
PS: I'm using a UIRoot with the settings Automatic = True and Manual Height = 480
Greetings Malzbier
I have a UIAnchor set to TopLeft at a resolution of 480X320
- The Position of the Anchor is X:-240 Y:160.
- If i go to the scene view and press save the position is now: X:-213.3333 Y:160.
- And if i save again (noting deone between this steps) the position is now: X:-320 Y:160.
Is it possible that this scripts are using the scene view in this case because it does not fit at all with the game view.
A nearly the same problem i have with the scale of UIStretch
- The scale of the sprite is X:480 Y:320.
- If i go to the scene view and press save the scale is now: X:640 Y:480.
My understanding is that this should be only reacting to the Game view and not the Scene view.
The current Behavior makes testing very annoying.
PS: I'm using a UIRoot with the settings Automatic = True and Manual Height = 480
Greetings Malzbier