Class UIUtilities | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class UIUtilities

    Inheritance
    System.Object
    UIUtilities
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEditor.Graphing.Util
    Syntax
    public static class UIUtilities

    Methods

    Add<T>(VisualElement, T, Action<T>)

    Declaration
    public static void Add<T>(this VisualElement visualElement, T elementToAdd, Action<T> action)where T : VisualElement
    Parameters
    Type Name Description
    VisualElement visualElement
    T elementToAdd
    Action<T> action
    Type Parameters
    Name Description
    T

    GetHashCode(Object[])

    Declaration
    public static int GetHashCode(params object[] objects)
    Parameters
    Type Name Description
    System.Object[] objects
    Returns
    Type Description
    System.Int32

    GetHashCode<T>(IEnumerable<T>)

    Declaration
    public static int GetHashCode<T>(IEnumerable<T> objects)
    Parameters
    Type Name Description
    IEnumerable<T> objects
    Returns
    Type Description
    System.Int32
    Type Parameters
    Name Description
    T

    GetTypesOrNothing(Assembly)

    Declaration
    public static IEnumerable<Type> GetTypesOrNothing(this Assembly assembly)
    Parameters
    Type Name Description
    Assembly assembly
    Returns
    Type Description
    IEnumerable<Type>

    ItemsReferenceEquals<T>(IList<T>, IList<T>)

    Declaration
    public static bool ItemsReferenceEquals<T>(this IList<T> first, IList<T> second)
    Parameters
    Type Name Description
    IList<T> first
    IList<T> second
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T

    ToEnumerable<T>(T)

    Declaration
    public static IEnumerable<T> ToEnumerable<T>(this T item)
    Parameters
    Type Name Description
    T item
    Returns
    Type Description
    IEnumerable<T>
    Type Parameters
    Name Description
    T
    Back to top
    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