GetRect() публичный статический Метод

public static GetRect ( GUIContent contents, int xCount, GUIStyle style, GUILayoutOption options ) : Rect
contents GUIContent
xCount int
style GUIStyle
options GUILayoutOption
Результат Rect
Пример #1
0
 // Make a Selection Grid
 public static int SelectionGrid(int selected, GUIContent[] contents, int xCount, GUIStyle style, params GUILayoutOption[] options)
 {
     return(GUI.SelectionGrid(GUIGridSizer.GetRect(contents, xCount, style, options), selected, contents, xCount, style));
 }