Class UnityObjectUtility
Inheritance
UnityObjectUtility
Syntax
public static class UnityObjectUtility
Methods
AsUnityNull<T>(T)
Declaration
public static T AsUnityNull<T>(this T obj)
where T : Object
Parameters
Type |
Name |
Description |
T |
obj |
|
Returns
Type Parameters
FindObjectsOfTypeIncludingInactive<T>()
Declaration
public static IEnumerable<T> FindObjectsOfTypeIncludingInactive<T>()
Returns
Type Parameters
IsDestroyed(Object)
Declaration
public static bool IsDestroyed(this Object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
IsUnityNull(Object)
Declaration
public static bool IsUnityNull(this object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
NotUnityNull<T>(IEnumerable<T>)
Declaration
public static IEnumerable<T> NotUnityNull<T>(this IEnumerable<T> enumerable)
where T : Object
Parameters
Returns
Type Parameters
ToSafeString(Object)
Declaration
public static string ToSafeString(this object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
ToSafeString(Object)
Declaration
public static string ToSafeString(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
TrulyEqual(Object, Object)
Declaration
public static bool TrulyEqual(Object a, Object b)
Parameters
Returns