here's the code that i've used
var text="tryyyyyyy";
var w=200;
var h=200;
private var scale : Vector2 = Vector2(1,1);
private var pivotPoint : Vector2;
private var onetime = true;
function OnGUI () {
pivotPoint = Vector2(Screen.width/2,Screen.height/2);
GUIUtility.ScaleAroundPivot (scale, pivotPoint);
GUIUtility.RotateAroundPivot (rotAngle, pivotPoint);
GUI.Box(Rect(Screen.width/2, Screen.height/2, w, h),text);
if (onetime){scale += Vector2(0,-2);onetime=false;}
}
Trending Articles
More Pages to Explore .....