Quantcast
Channel: Answers for "gui text mirrored"
Viewing all articles
Browse latest Browse all 4

Answer by leonida

$
0
0
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;} }

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images