GUIUtility.ScaleAroundPivot Manual     Reference     Scripting  
Scripting > Runtime Classes > GUIUtility
GUIUtility.ScaleAroundPivot

static function ScaleAroundPivot (scale : Vector2, pivotPoint : Vector2) : void

Description

Helper function to rotate the GUI around a point.

Modifies GUI.matrix to rotate all GUI elements angle degrees around pivotPoint.

See Also: GUI.matrix, RotateAroundPivot