Class UnityObject
Helper class to destroy objects in the editor and in play mode.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public static class UnityObject
Methods
Destroy(Object)
Destroys an object in the editor and in play mode.
Declaration
public static void Destroy(Object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to destroy. |