Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: lallous on October 14, 2014, 11:20:33 AM
-
Hello Fellow Devs,
I am trying to come up with the most efficient way to have a sprite fill the screen when clicked no matter its position.
I have attached a small image to explain what I am trying to do. Obviously I will be using this for animation purposes.
Thank you for your help,
-
Given the bottom-left corner pivot, tween the widget's position from wherever it is to the screen's bottom-left corner, and at the same time tween the widget's width and height from whatever it is to screen's width and height.
-
Thanks Aren. I will give it a shot.