GetControlID() 공개 정적인 메소드

public static GetControlID ( FocusType focus ) : int
focus FocusType
리턴 int
예제 #1
0
        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);
        }
예제 #2
0
 public static int GetControlID(GUIContent contents, FocusType focus)
 {
     return(GUIUtility.GetControlID(contents.hash, focus));
 }
예제 #3
0
 public static int GetControlID(FocusType focus)
 {
     return(GUIUtility.GetControlID(0, focus));
 }
예제 #4
0
 public static int GetControlID(int hint, FocusType focus)
 {
     return(GUIUtility.GetControlID(hint, focus, Rect.zero));
 }
예제 #5
0
 public static int GetControlID(GUIContent contents, FocusType focus, Rect position)
 {
     return(GUIUtility.GetControlID(contents.hash, focus, position));
 }
예제 #6
0
 public static int GetControlID(FocusType focus, Rect position)
 {
     return(GUIUtility.GetControlID(0, focus, position));
 }