Show / Hide Table of Contents

Class GUILayoutUtility

Inheritance
Object
GUILayoutUtility
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public class GUILayoutUtility

Methods

| Improve this Doc View Source

BeginGroup(String)

Declaration
[Obsolete("BeginGroup has no effect and will be removed", false)]
public static void BeginGroup(string GroupName)
Parameters
Type Name Description
String GroupName
| Improve this Doc View Source

EndGroup(String)

Declaration
[Obsolete("EndGroup has no effect and will be removed", false)]
public static void EndGroup(string groupName)
Parameters
Type Name Description
String groupName
| Improve this Doc View Source

GetAspectRect(Single)

Declaration
public static Rect GetAspectRect(float aspect)
Parameters
Type Name Description
Single aspect
Returns
Type Description
Rect
| Improve this Doc View Source

GetAspectRect(Single, GUILayoutOption[])

Declaration
public static Rect GetAspectRect(float aspect, params GUILayoutOption[] options)
Parameters
Type Name Description
Single aspect
GUILayoutOption[] options
Returns
Type Description
Rect
| Improve this Doc View Source

GetAspectRect(Single, GUIStyle)

Declaration
public static Rect GetAspectRect(float aspect, GUIStyle style)
Parameters
Type Name Description
Single aspect
GUIStyle style
Returns
Type Description
Rect
| Improve this Doc View Source

GetAspectRect(Single, GUIStyle, GUILayoutOption[])

Declaration
public static Rect GetAspectRect(float aspect, GUIStyle style, params GUILayoutOption[] options)
Parameters
Type Name Description
Single aspect
GUIStyle style
GUILayoutOption[] options
Returns
Type Description
Rect
| Improve this Doc View Source

GetLastRect()

Declaration
public static Rect GetLastRect()
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(Single, Single)

Declaration
public static Rect GetRect(float width, float height)
Parameters
Type Name Description
Single width
Single height
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(Single, Single, Single, Single)

Declaration
public static Rect GetRect(float minWidth, float maxWidth, float minHeight, float maxHeight)
Parameters
Type Name Description
Single minWidth
Single maxWidth
Single minHeight
Single maxHeight
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(Single, Single, Single, Single, GUILayoutOption[])

Declaration
public static Rect GetRect(float minWidth, float maxWidth, float minHeight, float maxHeight, params GUILayoutOption[] options)
Parameters
Type Name Description
Single minWidth
Single maxWidth
Single minHeight
Single maxHeight
GUILayoutOption[] options
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(Single, Single, Single, Single, GUIStyle)

Declaration
public static Rect GetRect(float minWidth, float maxWidth, float minHeight, float maxHeight, GUIStyle style)
Parameters
Type Name Description
Single minWidth
Single maxWidth
Single minHeight
Single maxHeight
GUIStyle style
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(Single, Single, Single, Single, GUIStyle, GUILayoutOption[])

Declaration
public static Rect GetRect(float minWidth, float maxWidth, float minHeight, float maxHeight, GUIStyle style, params GUILayoutOption[] options)
Parameters
Type Name Description
Single minWidth
Single maxWidth
Single minHeight
Single maxHeight
GUIStyle style
GUILayoutOption[] options
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(Single, Single, GUILayoutOption[])

Declaration
public static Rect GetRect(float width, float height, params GUILayoutOption[] options)
Parameters
Type Name Description
Single width
Single height
GUILayoutOption[] options
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(Single, Single, GUIStyle)

Declaration
public static Rect GetRect(float width, float height, GUIStyle style)
Parameters
Type Name Description
Single width
Single height
GUIStyle style
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(Single, Single, GUIStyle, GUILayoutOption[])

Declaration
public static Rect GetRect(float width, float height, GUIStyle style, params GUILayoutOption[] options)
Parameters
Type Name Description
Single width
Single height
GUIStyle style
GUILayoutOption[] options
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(GUIContent, GUIStyle)

Declaration
public static Rect GetRect(GUIContent content, GUIStyle style)
Parameters
Type Name Description
GUIContent content
GUIStyle style
Returns
Type Description
Rect
| Improve this Doc View Source

GetRect(GUIContent, GUIStyle, GUILayoutOption[])

Declaration
public static Rect GetRect(GUIContent content, GUIStyle style, params GUILayoutOption[] options)
Parameters
Type Name Description
GUIContent content
GUIStyle style
GUILayoutOption[] options
Returns
Type Description
Rect

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX