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

static function GetControlID (focus : FocusType) : int

static function GetControlID (hint : int, focus : FocusType) : int

static function GetControlID (contents : GUIContent, focus : FocusType) : int

Description

Get a unique ID for a control.

static function GetControlID (focus : FocusType, position : Rect) : int

static function GetControlID (hint : int, focus : FocusType, position : Rect) : int

static function GetControlID (contents : GUIContent, focus : FocusType, position : Rect) : int

Description

Get a unique ID for a control.