docs.unity3d.com
    Show / Hide Table of Contents

    Class LudiqGUI

    Inheritance
    Object
    LudiqGUI
    Namespace: Ludiq
    Syntax
    public static class LudiqGUI

    Fields

    color

    Declaration
    public static readonly OverrideStack<Color> color
    Field Value
    Type Description
    OverrideStack<Color>

    loaderResolution

    Declaration
    public static readonly TextureResolution loaderResolution
    Field Value
    Type Description
    TextureResolution

    loaderSize

    Declaration
    public const int loaderSize = 24
    Field Value
    Type Description
    Int32

    matrix

    Declaration
    public static readonly OverrideStack<Matrix4x4> matrix
    Field Value
    Type Description
    OverrideStack<Matrix4x4>

    Methods

    AdaptiveVector2Field(Rect, GUIContent, Vector2)

    Declaration
    public static Vector2 AdaptiveVector2Field(Rect position, GUIContent label, Vector2 value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector2 value
    Returns
    Type Description
    Vector2

    AdaptiveVector2IntField(Rect, GUIContent, Vector2Int)

    Declaration
    public static Vector2Int AdaptiveVector2IntField(Rect position, GUIContent label, Vector2Int value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector2Int value
    Returns
    Type Description
    Vector2Int

    AdaptiveVector3Field(Rect, GUIContent, Vector3)

    Declaration
    public static Vector3 AdaptiveVector3Field(Rect position, GUIContent label, Vector3 value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector3 value
    Returns
    Type Description
    Vector3

    AdaptiveVector3IntField(Rect, GUIContent, Vector3Int)

    Declaration
    public static Vector3Int AdaptiveVector3IntField(Rect position, GUIContent label, Vector3Int value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector3Int value
    Returns
    Type Description
    Vector3Int

    AdaptiveVector4Field(Rect, GUIContent, Vector4)

    Declaration
    public static Vector4 AdaptiveVector4Field(Rect position, GUIContent label, Vector4 value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector4 value
    Returns
    Type Description
    Vector4

    AssemblyField(Rect, GUIContent, LooseAssemblyName, Func<IFuzzyOptionTree>, GUIContent, GUIStyle)

    Declaration
    public static LooseAssemblyName AssemblyField(Rect position, GUIContent label, LooseAssemblyName assembly, Func<IFuzzyOptionTree> getOptions, GUIContent nullLabel = null, GUIStyle style = null)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    LooseAssemblyName assembly
    Func<IFuzzyOptionTree> getOptions
    GUIContent nullLabel
    GUIStyle style
    Returns
    Type Description
    LooseAssemblyName

    BeginHorizontal(GUILayoutOption[])

    Declaration
    public static void BeginHorizontal(params GUILayoutOption[] options)
    Parameters
    Type Name Description
    GUILayoutOption[] options

    BeginHorizontal(GUIStyle, GUILayoutOption[])

    Declaration
    public static void BeginHorizontal(GUIStyle style, params GUILayoutOption[] options)
    Parameters
    Type Name Description
    GUIStyle style
    GUILayoutOption[] options

    BeginVertical(GUILayoutOption[])

    Declaration
    public static void BeginVertical(params GUILayoutOption[] options)
    Parameters
    Type Name Description
    GUILayoutOption[] options

    BeginVertical(GUIStyle, GUILayoutOption[])

    Declaration
    public static void BeginVertical(GUIStyle style, params GUILayoutOption[] options)
    Parameters
    Type Name Description
    GUIStyle style
    GUILayoutOption[] options

    BigButton(Rect, GUIContent)

    Declaration
    public static bool BigButton(Rect buttonPosition, GUIContent content)
    Parameters
    Type Name Description
    Rect buttonPosition
    GUIContent content
    Returns
    Type Description
    Boolean

    BigButtonLayout(GUIContent)

    Declaration
    public static bool BigButtonLayout(GUIContent content)
    Parameters
    Type Name Description
    GUIContent content
    Returns
    Type Description
    Boolean

    CenterLoader(Boolean)

    Declaration
    public static void CenterLoader(bool verticalAlign = true)
    Parameters
    Type Name Description
    Boolean verticalAlign

    CompactVector2Field(Rect, GUIContent, Vector2)

    Declaration
    public static Vector2 CompactVector2Field(Rect position, GUIContent label, Vector2 value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector2 value
    Returns
    Type Description
    Vector2

    CompactVector2IntField(Rect, GUIContent, Vector2Int)

    Declaration
    public static Vector2Int CompactVector2IntField(Rect position, GUIContent label, Vector2Int value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector2Int value
    Returns
    Type Description
    Vector2Int

    CompactVector3Field(Rect, GUIContent, Vector3)

    Declaration
    public static Vector3 CompactVector3Field(Rect position, GUIContent label, Vector3 value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector3 value
    Returns
    Type Description
    Vector3

    CompactVector3IntField(Rect, GUIContent, Vector3Int)

    Declaration
    public static Vector3Int CompactVector3IntField(Rect position, GUIContent label, Vector3Int value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector3Int value
    Returns
    Type Description
    Vector3Int

    CompactVector4Field(Rect, GUIContent, Vector4)

    Declaration
    public static Vector4 CompactVector4Field(Rect position, GUIContent label, Vector4 value)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Vector4 value
    Returns
    Type Description
    Vector4

    DraggableFloatField(Rect, Single)

    Declaration
    public static float DraggableFloatField(Rect position, float value)
    Parameters
    Type Name Description
    Rect position
    Single value
    Returns
    Type Description
    Single

    DraggableIntField(Rect, Int32)

    Declaration
    public static int DraggableIntField(Rect position, int value)
    Parameters
    Type Name Description
    Rect position
    Int32 value
    Returns
    Type Description
    Int32

    DragNumber(Rect, Boolean, Int32, Int32)

    Declaration
    public static int DragNumber(Rect hotZone, bool deadZone, int controlId, int value)
    Parameters
    Type Name Description
    Rect hotZone
    Boolean deadZone
    Int32 controlId
    Int32 value
    Returns
    Type Description
    Int32

    DragNumber(Rect, Boolean, Int32, Single)

    Declaration
    public static float DragNumber(Rect hotZone, bool deadZone, int controlId, float value)
    Parameters
    Type Name Description
    Rect hotZone
    Boolean deadZone
    Int32 controlId
    Single value
    Returns
    Type Description
    Single

    DrawCustomComponentIcon(Rect, EditorTexture)

    Declaration
    public static void DrawCustomComponentIcon(Rect editorPosition, EditorTexture icon)
    Parameters
    Type Name Description
    Rect editorPosition
    EditorTexture icon

    DrawCustomComponentIconField(Rect, Accessor, EditorTexture)

    Declaration
    public static void DrawCustomComponentIconField(Rect editorPosition, Accessor iconAccessor, EditorTexture iconPlaceholder)
    Parameters
    Type Name Description
    Rect editorPosition
    Accessor iconAccessor
    EditorTexture iconPlaceholder

    DrawCustomComponentTitle(Rect, String)

    Declaration
    public static void DrawCustomComponentTitle(Rect editorPosition, string title)
    Parameters
    Type Name Description
    Rect editorPosition
    String title

    DrawCustomComponentTitleField(Rect, Accessor, String)

    Declaration
    public static void DrawCustomComponentTitleField(Rect editorPosition, Accessor titleAccessor, string placeholder = null)
    Parameters
    Type Name Description
    Rect editorPosition
    Accessor titleAccessor
    String placeholder

    DrawCustomComponentTitleField(Rect, String, String)

    Declaration
    public static string DrawCustomComponentTitleField(Rect editorPosition, string title, string placeholder = null)
    Parameters
    Type Name Description
    Rect editorPosition
    String title
    String placeholder
    Returns
    Type Description
    String

    DrawEmptyRect(Rect, Color)

    Declaration
    public static void DrawEmptyRect(Rect position, Color color)
    Parameters
    Type Name Description
    Rect position
    Color color

    Dropdown(Vector2, Action<HashSet<Object>>, IEnumerable<DropdownOption>, HashSet<Object>, Boolean)

    Declaration
    public static void Dropdown(Vector2 position, Action<HashSet<object>> callback, IEnumerable<DropdownOption> options, HashSet<object> selected, bool showNothingEverything = true)
    Parameters
    Type Name Description
    Vector2 position
    Action<HashSet<Object>> callback
    IEnumerable<DropdownOption> options
    HashSet<Object> selected
    Boolean showNothingEverything

    Dropdown(Vector2, Action<Object>, IEnumerable<DropdownOption>, Object)

    Declaration
    public static void Dropdown(Vector2 position, Action<object> callback, IEnumerable<DropdownOption> options, object selected)
    Parameters
    Type Name Description
    Vector2 position
    Action<Object> callback
    IEnumerable<DropdownOption> options
    Object selected

    EndHorizontal()

    Declaration
    public static void EndHorizontal()

    EndVertical()

    Declaration
    public static void EndVertical()

    EraseAssetHeader(Rect)

    Declaration
    public static void EraseAssetHeader(Rect editorPosition)
    Parameters
    Type Name Description
    Rect editorPosition

    EraseComponentIcon(Rect)

    Declaration
    public static void EraseComponentIcon(Rect editorPosition)
    Parameters
    Type Name Description
    Rect editorPosition

    EraseComponentTitle(Rect)

    Declaration
    public static void EraseComponentTitle(Rect editorPosition)
    Parameters
    Type Name Description
    Rect editorPosition

    ExpandPosition(Rect)

    Declaration
    public static Rect ExpandPosition(Rect editorPosition)
    Parameters
    Type Name Description
    Rect editorPosition
    Returns
    Type Description
    Rect

    FlexibleSpace()

    Declaration
    public static void FlexibleSpace()

    FuzzyDropdown(Rect, IFuzzyOptionTree, HashSet<Object>, Action<HashSet<Object>>)

    Declaration
    public static void FuzzyDropdown(Rect activatorPosition, IFuzzyOptionTree optionTree, HashSet<object> selected, Action<HashSet<object>> callback)
    Parameters
    Type Name Description
    Rect activatorPosition
    IFuzzyOptionTree optionTree
    HashSet<Object> selected
    Action<HashSet<Object>> callback

    FuzzyDropdown(Rect, IFuzzyOptionTree, Object, Action<Object>)

    Declaration
    public static void FuzzyDropdown(Rect activatorPosition, IFuzzyOptionTree optionTree, object selected, Action<object> callback)
    Parameters
    Type Name Description
    Rect activatorPosition
    IFuzzyOptionTree optionTree
    Object selected
    Action<Object> callback

    FuzzyPopup(Rect, Func<IFuzzyOptionTree>, HashSet<Object>, GUIContent, GUIStyle)

    Declaration
    public static HashSet<object> FuzzyPopup(Rect position, Func<IFuzzyOptionTree> getOptions, HashSet<object> selected, GUIContent label = null, GUIStyle style = null)
    Parameters
    Type Name Description
    Rect position
    Func<IFuzzyOptionTree> getOptions
    HashSet<Object> selected
    GUIContent label
    GUIStyle style
    Returns
    Type Description
    HashSet<Object>

    FuzzyPopup(Rect, Func<IFuzzyOptionTree>, Object, GUIContent, GUIStyle)

    Declaration
    public static object FuzzyPopup(Rect position, Func<IFuzzyOptionTree> getOptions, object selected, GUIContent label = null, GUIStyle style = null)
    Parameters
    Type Name Description
    Rect position
    Func<IFuzzyOptionTree> getOptions
    Object selected
    GUIContent label
    GUIStyle style
    Returns
    Type Description
    Object

    FuzzyPopupRaw(Int32, Boolean, Rect, Func<IFuzzyOptionTree>, Object)

    Declaration
    public static object FuzzyPopupRaw(int controlID, bool activated, Rect activatorPosition, Func<IFuzzyOptionTree> getOptions, object selected)
    Parameters
    Type Name Description
    Int32 controlID
    Boolean activated
    Rect activatorPosition
    Func<IFuzzyOptionTree> getOptions
    Object selected
    Returns
    Type Description
    Object

    GetAssetHeaderPosition(Rect)

    Declaration
    public static Rect GetAssetHeaderPosition(Rect editorPosition)
    Parameters
    Type Name Description
    Rect editorPosition
    Returns
    Type Description
    Rect

    GetComponentHeaderPosition(Rect)

    Declaration
    public static Rect GetComponentHeaderPosition(Rect editorPosition)
    Parameters
    Type Name Description
    Rect editorPosition
    Returns
    Type Description
    Rect

    GetComponentIconPosition(Rect)

    Declaration
    public static Rect GetComponentIconPosition(Rect editorPosition)
    Parameters
    Type Name Description
    Rect editorPosition
    Returns
    Type Description
    Rect

    GetComponentTitlePosition(Rect)

    Declaration
    public static Rect GetComponentTitlePosition(Rect editorPosition)
    Parameters
    Type Name Description
    Rect editorPosition
    Returns
    Type Description
    Rect

    GetEnumPopupContent(Enum)

    Declaration
    public static GUIContent GetEnumPopupContent(Enum value)
    Parameters
    Type Name Description
    Enum value
    Returns
    Type Description
    GUIContent

    GetFuzzyObjectFieldHeight(UnityObjectFieldVisualType, Single)

    Declaration
    public static float GetFuzzyObjectFieldHeight(UnityObjectFieldVisualType visualType, float width)
    Parameters
    Type Name Description
    UnityObjectFieldVisualType visualType
    Single width
    Returns
    Type Description
    Single

    GetFuzzyObjectFieldWidth(Object, UnityObjectFieldVisualType)

    Declaration
    public static float GetFuzzyObjectFieldWidth(Object obj, UnityObjectFieldVisualType visualType)
    Parameters
    Type Name Description
    Object obj
    UnityObjectFieldVisualType visualType
    Returns
    Type Description
    Single

    GetHeaderHeight(Inspector, Accessor, Accessor, Accessor, Single)

    Declaration
    public static float GetHeaderHeight(Inspector parentInspector, Accessor titleAccessor, Accessor summaryAccessor, Accessor iconAccessor, float totalWidth)
    Parameters
    Type Name Description
    Inspector parentInspector
    Accessor titleAccessor
    Accessor summaryAccessor
    Accessor iconAccessor
    Single totalWidth
    Returns
    Type Description
    Single

    GetHeaderHeight(Inspector, Accessor, Accessor, EditorTexture, Single)

    Declaration
    public static float GetHeaderHeight(Inspector parentInspector, Accessor titleAccessor, Accessor summaryAccessor, EditorTexture icon, float totalWidth)
    Parameters
    Type Name Description
    Inspector parentInspector
    Accessor titleAccessor
    Accessor summaryAccessor
    EditorTexture icon
    Single totalWidth
    Returns
    Type Description
    Single

    GetHeaderHeight(LudiqGUI.GetHeaderTitleHeightDelegate, LudiqGUI.GetHeaderSummaryHeightDelegate, Boolean, Single, Single)

    Declaration
    public static float GetHeaderHeight(LudiqGUI.GetHeaderTitleHeightDelegate getTitleHeight, LudiqGUI.GetHeaderSummaryHeightDelegate getSummaryHeight, bool hasIcon, float totalWidth, float spaceBetweenTitleAndSummary = 0F)
    Parameters
    Type Name Description
    LudiqGUI.GetHeaderTitleHeightDelegate getTitleHeight
    LudiqGUI.GetHeaderSummaryHeightDelegate getSummaryHeight
    Boolean hasIcon
    Single totalWidth
    Single spaceBetweenTitleAndSummary
    Returns
    Type Description
    Single

    GetHeaderHeight(String, String, EditorTexture, Single)

    Declaration
    public static float GetHeaderHeight(string title, string summary, EditorTexture icon, float totalWidth)
    Parameters
    Type Name Description
    String title
    String summary
    EditorTexture icon
    Single totalWidth
    Returns
    Type Description
    Single

    GetHeaderHeight(GUIContent, Single)

    Declaration
    public static float GetHeaderHeight(GUIContent header, float totalWidth)
    Parameters
    Type Name Description
    GUIContent header
    Single totalWidth
    Returns
    Type Description
    Single

    GetHeaderSummaryHeight(Inspector, Accessor, Single)

    Declaration
    public static float GetHeaderSummaryHeight(Inspector parentInspector, Accessor summaryAccessor, float width)
    Parameters
    Type Name Description
    Inspector parentInspector
    Accessor summaryAccessor
    Single width
    Returns
    Type Description
    Single

    GetHeaderSummaryHeight(String, Single)

    Declaration
    public static float GetHeaderSummaryHeight(string summary, float width)
    Parameters
    Type Name Description
    String summary
    Single width
    Returns
    Type Description
    Single

    GetHeaderTitleHeight(Inspector, Accessor, Single)

    Declaration
    public static float GetHeaderTitleHeight(Inspector parentInspector, Accessor titleAccessor, float width)
    Parameters
    Type Name Description
    Inspector parentInspector
    Accessor titleAccessor
    Single width
    Returns
    Type Description
    Single

    GetHeaderTitleHeight(String, Single)

    Declaration
    public static float GetHeaderTitleHeight(string title, float width)
    Parameters
    Type Name Description
    String title
    Single width
    Returns
    Type Description
    Single

    GetPopupFieldAdaptiveWidth(GUIContent)

    Declaration
    public static float GetPopupFieldAdaptiveWidth(GUIContent content)
    Parameters
    Type Name Description
    GUIContent content
    Returns
    Type Description
    Single

    GetTextFieldAdaptiveWidth(Object, Single)

    Declaration
    public static float GetTextFieldAdaptiveWidth(object content, float min = 16F)
    Parameters
    Type Name Description
    Object content
    Single min
    Returns
    Type Description
    Single

    GetTypeFieldAdaptiveWidth(Type)

    Declaration
    public static float GetTypeFieldAdaptiveWidth(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Single

    GetTypeTreeFieldAdaptiveWidth(TypeTree, Boolean, Single)

    Declaration
    public static float GetTypeTreeFieldAdaptiveWidth(TypeTree tree, bool includeSelf = true, float indent = 0F)
    Parameters
    Type Name Description
    TypeTree tree
    Boolean includeSelf
    Single indent
    Returns
    Type Description
    Single

    GetTypeTreeFieldHeight(TypeTree, Boolean)

    Declaration
    public static float GetTypeTreeFieldHeight(TypeTree tree, bool includeSelf = true)
    Parameters
    Type Name Description
    TypeTree tree
    Boolean includeSelf
    Returns
    Type Description
    Single

    GetVersionMismatchShieldHeight(Single)

    Declaration
    public static float GetVersionMismatchShieldHeight(float width)
    Parameters
    Type Name Description
    Single width
    Returns
    Type Description
    Single

    ImmediatePopup(Int32, Boolean, HashSet<Object>, Action)

    Declaration
    public static HashSet<object> ImmediatePopup(int controlID, bool activated, HashSet<object> selected, Action dropdown)
    Parameters
    Type Name Description
    Int32 controlID
    Boolean activated
    HashSet<Object> selected
    Action dropdown
    Returns
    Type Description
    HashSet<Object>

    ImmediatePopup(Int32, Boolean, Object, Action)

    Declaration
    public static object ImmediatePopup(int controlID, bool activated, object selected, Action dropdown)
    Parameters
    Type Name Description
    Int32 controlID
    Boolean activated
    Object selected
    Action dropdown
    Returns
    Type Description
    Object

    List(Vector2, Boolean, IList<ListOption>, Object, Action<Object>)

    Declaration
    public static Vector2 List(Vector2 scroll, bool flexible, IList<ListOption> options, object selected, Action<object> selectionChanged)
    Parameters
    Type Name Description
    Vector2 scroll
    Boolean flexible
    IList<ListOption> options
    Object selected
    Action<Object> selectionChanged
    Returns
    Type Description
    Vector2

    Loader(Rect, Nullable<Color>)

    Declaration
    public static void Loader(Rect position, Color? color = null)
    Parameters
    Type Name Description
    Rect position
    Nullable<Color> color

    LoaderLayout(Int32, Nullable<Color>)

    Declaration
    public static void LoaderLayout(int size = 24, Color? color = null)
    Parameters
    Type Name Description
    Int32 size
    Nullable<Color> color

    NamespaceField(Rect, GUIContent, Namespace, Func<IFuzzyOptionTree>, GUIContent, GUIStyle)

    Declaration
    public static Namespace NamespaceField(Rect position, GUIContent label, Namespace namespace, Func<IFuzzyOptionTree> getOptions, GUIContent nullLabel = null, GUIStyle style = null)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Namespace namespace
    Func<IFuzzyOptionTree> getOptions
    GUIContent nullLabel
    GUIStyle style
    Returns
    Type Description
    Namespace

    ObjectField(Rect, Accessor, UnityObjectFieldVisualType, Boolean, Texture2D)

    Declaration
    public static void ObjectField(Rect position, Accessor accessor, UnityObjectFieldVisualType visualType = UnityObjectFieldVisualType.NameAndTarget, bool hidableFrame = false, Texture2D thumbnailPlaceholder = null)
    Parameters
    Type Name Description
    Rect position
    Accessor accessor
    UnityObjectFieldVisualType visualType
    Boolean hidableFrame
    Texture2D thumbnailPlaceholder

    ObjectField(Rect, Object, Type, Nullable<Scene>, UnityObjectFieldVisualType, Boolean, Texture2D)

    Declaration
    public static Object ObjectField(Rect position, Object obj, Type objType, Scene? scene, UnityObjectFieldVisualType visualType = UnityObjectFieldVisualType.NameAndTarget, bool hidableFrame = false, Texture2D thumbnailPlaceholder = null)
    Parameters
    Type Name Description
    Rect position
    Object obj
    Type objType
    Nullable<Scene> scene
    UnityObjectFieldVisualType visualType
    Boolean hidableFrame
    Texture2D thumbnailPlaceholder
    Returns
    Type Description
    Object

    ObjectField(Rect, Object, Type, Nullable<Scene>, Boolean, String, EditorTexture, Func<Object, Boolean>, Func<IFuzzyOptionTree>, UnityObjectFieldVisualType, Boolean, Texture2D)

    Declaration
    public static Object ObjectField(Rect position, Object obj, Type objType, Scene? scene, bool allowAssetObjects, string typeLabel, EditorTexture typeIcon, Func<Object, bool> filter = null, Func<IFuzzyOptionTree> getOptions = null, UnityObjectFieldVisualType visualType = UnityObjectFieldVisualType.NameAndTarget, bool hidableFrame = false, Texture2D thumbnailPlaceholder = null)
    Parameters
    Type Name Description
    Rect position
    Object obj
    Type objType
    Nullable<Scene> scene
    Boolean allowAssetObjects
    String typeLabel
    EditorTexture typeIcon
    Func<Object, Boolean> filter
    Func<IFuzzyOptionTree> getOptions
    UnityObjectFieldVisualType visualType
    Boolean hidableFrame
    Texture2D thumbnailPlaceholder
    Returns
    Type Description
    Object

    OnHeaderGUI(Accessor, Accessor, Accessor, Rect, ref Single, Boolean)

    Declaration
    public static void OnHeaderGUI(Accessor titleAccessor, Accessor summaryAccessor, Accessor iconAccessor, Rect position, ref float y, bool delayed = true)
    Parameters
    Type Name Description
    Accessor titleAccessor
    Accessor summaryAccessor
    Accessor iconAccessor
    Rect position
    Single y
    Boolean delayed

    OnHeaderGUI(Accessor, Accessor, EditorTexture, Rect, ref Single, Boolean)

    Declaration
    public static void OnHeaderGUI(Accessor titleAccessor, Accessor summaryAccessor, EditorTexture icon, Rect position, ref float y, bool delayed = true)
    Parameters
    Type Name Description
    Accessor titleAccessor
    Accessor summaryAccessor
    EditorTexture icon
    Rect position
    Single y
    Boolean delayed

    OnHeaderGUI(LudiqGUI.GetHeaderTitleHeightDelegate, LudiqGUI.GetHeaderSummaryHeightDelegate, LudiqGUI.OnHeaderTitleGUIDelegate, LudiqGUI.OnHeaderSummaryGUIDelegate, LudiqGUI.OnIconGUIDelegate, Rect, ref Single)

    Declaration
    public static void OnHeaderGUI(LudiqGUI.GetHeaderTitleHeightDelegate getTitleHeight, LudiqGUI.GetHeaderSummaryHeightDelegate getSummaryHeight, LudiqGUI.OnHeaderTitleGUIDelegate onTitleGUI, LudiqGUI.OnHeaderSummaryGUIDelegate onSummaryGui, LudiqGUI.OnIconGUIDelegate onIconGUI, Rect position, ref float y)
    Parameters
    Type Name Description
    LudiqGUI.GetHeaderTitleHeightDelegate getTitleHeight
    LudiqGUI.GetHeaderSummaryHeightDelegate getSummaryHeight
    LudiqGUI.OnHeaderTitleGUIDelegate onTitleGUI
    LudiqGUI.OnHeaderSummaryGUIDelegate onSummaryGui
    LudiqGUI.OnIconGUIDelegate onIconGUI
    Rect position
    Single y

    OnHeaderGUI(String, String, EditorTexture, Rect, ref Single)

    Declaration
    public static void OnHeaderGUI(string title, string summary, EditorTexture icon, Rect position, ref float y)
    Parameters
    Type Name Description
    String title
    String summary
    EditorTexture icon
    Rect position
    Single y

    OnHeaderGUI(GUIContent, Rect, ref Single)

    Declaration
    public static void OnHeaderGUI(GUIContent header, Rect position, ref float y)
    Parameters
    Type Name Description
    GUIContent header
    Rect position
    Single y

    OnHeaderIconGUI(Accessor, Rect, EditorTexture, Boolean)

    Declaration
    public static void OnHeaderIconGUI(Accessor iconAccessor, Rect iconPosition, EditorTexture iconPlaceholder = null, bool delayed = true)
    Parameters
    Type Name Description
    Accessor iconAccessor
    Rect iconPosition
    EditorTexture iconPlaceholder
    Boolean delayed

    OnHeaderIconGUI(EditorTexture, Rect)

    Declaration
    public static void OnHeaderIconGUI(EditorTexture icon, Rect iconPosition)
    Parameters
    Type Name Description
    EditorTexture icon
    Rect iconPosition

    OnHeaderSummaryGUI(Accessor, Rect, Boolean)

    Declaration
    public static void OnHeaderSummaryGUI(Accessor summaryAccessor, Rect summaryPosition, bool delayed = true)
    Parameters
    Type Name Description
    Accessor summaryAccessor
    Rect summaryPosition
    Boolean delayed

    OnHeaderSummaryGUI(String, Rect)

    Declaration
    public static void OnHeaderSummaryGUI(string summary, Rect summaryPosition)
    Parameters
    Type Name Description
    String summary
    Rect summaryPosition

    OnHeaderTitleGUI(Accessor, Rect, String, Boolean)

    Declaration
    public static void OnHeaderTitleGUI(Accessor titleAccessor, Rect titlePosition, string placeholder = null, bool delayed = true)
    Parameters
    Type Name Description
    Accessor titleAccessor
    Rect titlePosition
    String placeholder
    Boolean delayed

    OnHeaderTitleGUI(String, Rect)

    Declaration
    public static void OnHeaderTitleGUI(string title, Rect titlePosition)
    Parameters
    Type Name Description
    String title
    Rect titlePosition

    Popup(Rect, Func<IEnumerable<DropdownOption>>, HashSet<Object>, Boolean, GUIContent, GUIStyle)

    Declaration
    public static HashSet<object> Popup(Rect position, Func<IEnumerable<DropdownOption>> getOptions, HashSet<object> selected, bool showNothingEverything = true, GUIContent label = null, GUIStyle style = null)
    Parameters
    Type Name Description
    Rect position
    Func<IEnumerable<DropdownOption>> getOptions
    HashSet<Object> selected
    Boolean showNothingEverything
    GUIContent label
    GUIStyle style
    Returns
    Type Description
    HashSet<Object>

    Popup(Rect, Func<IEnumerable<DropdownOption>>, Object, GUIContent, GUIStyle)

    Declaration
    public static object Popup(Rect position, Func<IEnumerable<DropdownOption>> getOptions, object selected, GUIContent label = null, GUIStyle style = null)
    Parameters
    Type Name Description
    Rect position
    Func<IEnumerable<DropdownOption>> getOptions
    Object selected
    GUIContent label
    GUIStyle style
    Returns
    Type Description
    Object

    Space(Single)

    Declaration
    public static void Space(float pixels)
    Parameters
    Type Name Description
    Single pixels

    Spinner(Rect, Boolean, Boolean)

    Declaration
    public static int Spinner(Rect position, bool upEnabled = true, bool downEnabled = true)
    Parameters
    Type Name Description
    Rect position
    Boolean upEnabled
    Boolean downEnabled
    Returns
    Type Description
    Int32

    TypeField(Rect, GUIContent, Type, Func<IFuzzyOptionTree>, GUIContent, GUIStyle)

    Declaration
    public static Type TypeField(Rect position, GUIContent label, Type type, Func<IFuzzyOptionTree> getOptions, GUIContent nullLabel = null, GUIStyle style = null)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    Type type
    Func<IFuzzyOptionTree> getOptions
    GUIContent nullLabel
    GUIStyle style
    Returns
    Type Description
    Type

    TypeTreeField(ref Rect, GUIContent, TypeTree, Boolean, Func<TypeTree, Func<IFuzzyOptionTree>>, GUIContent)

    Declaration
    public static void TypeTreeField(ref Rect position, GUIContent label, TypeTree tree, bool includeSelf, Func<TypeTree, Func<IFuzzyOptionTree>> getOptions, GUIContent nullLabel = null)
    Parameters
    Type Name Description
    Rect position
    GUIContent label
    TypeTree tree
    Boolean includeSelf
    Func<TypeTree, Func<IFuzzyOptionTree>> getOptions
    GUIContent nullLabel

    UpdateImmediatePopupValue(Object)

    Declaration
    public static void UpdateImmediatePopupValue(object value)
    Parameters
    Type Name Description
    Object value

    UpdateImmediatePopupValues(HashSet<Object>)

    Declaration
    public static void UpdateImmediatePopupValues(HashSet<object> value)
    Parameters
    Type Name Description
    HashSet<Object> value

    VersionMismatchShield(Rect)

    Declaration
    public static void VersionMismatchShield(Rect position)
    Parameters
    Type Name Description
    Rect position

    VersionMismatchShieldCenter()

    Declaration
    public static void VersionMismatchShieldCenter()

    VersionMismatchShieldLayout()

    Declaration
    public static void VersionMismatchShieldLayout()

    WindowHeader(String, EditorTexture)

    Declaration
    public static void WindowHeader(string label, EditorTexture icon)
    Parameters
    Type Name Description
    String label
    EditorTexture icon
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023