Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: kjenkins_oculus on December 04, 2013, 05:32:24 PM
-
UIScale scales the transform of the object. But with a sliced sprite this results in the edges being scaled. I would instead like the Widget Dimensions to be scaled by the corresponding X / Y scale values, and for the containing game object's scale to remain unchanged. How would I do this? I tried writing a script but I'm not sure which public members to set of UISprite.
-
I don't know what UIScale is. Did you mean UIButtonScale?
TweenWidth and TweenHeight can be used to tween the widget's dimensions.
-
Sorry, yes. UIButtonScale. I'll try TweenWidth and TweenHeight