Animating GUITexture/GUIText based on pixel inset

Hi all

I currently have made a script that I apply to my GUIText/GUITexture gameobjects that makes it possible to place them based on absolute pixels. The reason I it by script is to calculate the screen width/height when placing so that they don’t go off the screen. I’ve found the solution to be perfect for placing stuff where I want instead of using the transform position like I did in my previous version. Anyway, to the point; earlier I animated some of these objects “sliding in and out” from the screen using iTween. I cannot seem to find any option to animate based on pixel inset though, and I fear that I’m stuck writing my own animation script for this (which sucks because iTween had some pretty amazing easetypes).

Are there anyone who know of a solution using iTween? If not, can anyone help me pointing me in the right direction of how this would work if I wrote my own script (Im pretty new to Unity)?

Check into FloatUpdate(), RectUpdate() (just added in version .39), or ValueTo() to help you manipulate the Rect that pixel inset.

Thank you. Do you have any examples where ValueTo is used? (I’ve purchased all your examples, so maybe there is in one of those?) I just can’t seem to get it to work.