Class UnityObjectUtility | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class UnityObjectUtility

    Inheritance
    Object
    UnityObjectUtility
    Namespace: Ludiq
    Syntax
    public static class UnityObjectUtility

    Properties

    isUnityNullSafeCheckSupported

    Declaration
    public static bool isUnityNullSafeCheckSupported { get; }
    Property Value
    Type Description
    Boolean

    Methods

    AsUnityNull<T>(T)

    Declaration
    public static T AsUnityNull<T>(this T obj)
        where T : UnityEngine.Object
    Parameters
    Type Name Description
    T obj
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    FindObjectsOfTypeInAllScenes(Type, Boolean)

    Declaration
    public static IEnumerable<UnityEngine.Object> FindObjectsOfTypeInAllScenes(Type type, bool includeInactive = true)
    Parameters
    Type Name Description
    Type type
    Boolean includeInactive
    Returns
    Type Description
    IEnumerable<UnityEngine.Object>

    FindObjectsOfTypeInAllScenes<T>(Boolean)

    Declaration
    public static IEnumerable<T> FindObjectsOfTypeInAllScenes<T>(bool includeInactive = true)
    Parameters
    Type Name Description
    Boolean includeInactive
    Returns
    Type Description
    IEnumerable<T>
    Type Parameters
    Name Description
    T

    FindObjectsOfTypeInScene(Type, Scene, Boolean)

    Declaration
    public static IEnumerable<UnityEngine.Object> FindObjectsOfTypeInScene(Type type, Scene scene, bool includeInactive = true)
    Parameters
    Type Name Description
    Type type
    Scene scene
    Boolean includeInactive
    Returns
    Type Description
    IEnumerable<UnityEngine.Object>

    FindObjectsOfTypeInScene(Type, Boolean)

    Declaration
    public static IEnumerable<UnityEngine.Object> FindObjectsOfTypeInScene(Type type, bool includeInactive = true)
    Parameters
    Type Name Description
    Type type
    Boolean includeInactive
    Returns
    Type Description
    IEnumerable<UnityEngine.Object>

    FindObjectsOfTypeInScene<T>(Scene, Boolean)

    Declaration
    public static IEnumerable<T> FindObjectsOfTypeInScene<T>(Scene scene, bool includeInactive = true)
    Parameters
    Type Name Description
    Scene scene
    Boolean includeInactive
    Returns
    Type Description
    IEnumerable<T>
    Type Parameters
    Name Description
    T

    FindObjectsOfTypeInScene<T>(Boolean)

    Declaration
    public static IEnumerable<T> FindObjectsOfTypeInScene<T>(bool includeInactive = true)
    Parameters
    Type Name Description
    Boolean includeInactive
    Returns
    Type Description
    IEnumerable<T>
    Type Parameters
    Name Description
    T

    GetInstanceIDSafe(UnityEngine.Object)

    Declaration
    public static int GetInstanceIDSafe(this UnityEngine.Object uo)
    Parameters
    Type Name Description
    UnityEngine.Object uo
    Returns
    Type Description
    Int32

    IsDestroyed(UnityEngine.Object)

    Declaration
    public static bool IsDestroyed(this UnityEngine.Object target)
    Parameters
    Type Name Description
    UnityEngine.Object target
    Returns
    Type Description
    Boolean

    IsHidden(UnityEngine.Object)

    Declaration
    public static bool IsHidden(this UnityEngine.Object uo)
    Parameters
    Type Name Description
    UnityEngine.Object uo
    Returns
    Type Description
    Boolean

    IsUnityNull(Object)

    Declaration
    public static bool IsUnityNull(this object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean

    IsUnityNullSafe(UnityEngine.Object)

    Declaration
    public static bool IsUnityNullSafe(this UnityEngine.Object uo)
    Parameters
    Type Name Description
    UnityEngine.Object uo
    Returns
    Type Description
    Boolean

    NotUnityNull<T>(IEnumerable<T>)

    Declaration
    public static IEnumerable<T> NotUnityNull<T>(this IEnumerable<T> enumerable)
        where T : UnityEngine.Object
    Parameters
    Type Name Description
    IEnumerable<T> enumerable
    Returns
    Type Description
    IEnumerable<T>
    Type Parameters
    Name Description
    T

    ToSafeString(Object)

    Declaration
    public static string ToSafeString(this object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    String

    ToSafeString(UnityEngine.Object)

    Declaration
    public static string ToSafeString(this UnityEngine.Object uo)
    Parameters
    Type Name Description
    UnityEngine.Object uo
    Returns
    Type Description
    String

    TrulyEqual(UnityEngine.Object, UnityEngine.Object)

    Declaration
    public static bool TrulyEqual(UnityEngine.Object a, UnityEngine.Object b)
    Parameters
    Type Name Description
    UnityEngine.Object a
    UnityEngine.Object b
    Returns
    Type Description
    Boolean

    UnityNullCoalesce(Object, Object)

    Declaration
    public static object UnityNullCoalesce(this object obj, object fallback)
    Parameters
    Type Name Description
    Object obj
    Object fallback
    Returns
    Type Description
    Object
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX