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

static function RotateAroundPivot (angle : float, 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, ScaleAroundPivot