public static void Vector4Label(Rect position, GUIContent label, Vector4 value, bool4 mixed) { var controlId = GUIUtility.GetControlID(s_FoldoutHash, FocusType.Keyboard, position); position = MultiFieldPrefixLabel(position, controlId, label, 4); position.height = 18f; Vector4FieldNoIndent(position, value, mixed); }
public static int GetControlID(GUIContent contents, FocusType focus) { return(GUIUtility.GetControlID(contents.hash, focus)); }
public static int GetControlID(FocusType focus) { return(GUIUtility.GetControlID(0, focus)); }
public static int GetControlID(int hint, FocusType focus) { return(GUIUtility.GetControlID(hint, focus, Rect.zero)); }
public static int GetControlID(GUIContent contents, FocusType focus, Rect position) { return(GUIUtility.GetControlID(contents.hash, focus, position)); }
public static int GetControlID(FocusType focus, Rect position) { return(GUIUtility.GetControlID(0, focus, position)); }