Class ObjectUtils
Inheritance
System.Object
ObjectUtils
Namespace: Unity.UIWidgets.foundation
Syntax
public static class ObjectUtils
Methods
SafeDestroy<T>(T)
Declaration
public static T SafeDestroy<T>(T obj)
where T : UnityEngine.Object
Parameters
Type | Name | Description |
---|---|---|
T | obj |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |