UnityEngine.GUIUtility.GetControlID(UnityEngine.FocusType, UnityEngine.Rect)

Here are the examples of the csharp api UnityEngine.GUIUtility.GetControlID(UnityEngine.FocusType, UnityEngine.Rect) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : TreeIMGUI.cs
with MIT License
from liangxiegame

public void DrawTreeLayout()
		{
			_height = 0;
			_drawY = 0;
			_root.Traverse(OnGetLayoutHeight);

			_controlRect = EditorGUILayout.GetControlRect(false,_height);
			_controlID = GUIUtility.GetControlID(FocusType.Preplacedive,_controlRect);
			_root.Traverse(OnDrawRow);
		}