Class UsesDeleteSceneObjectMethods
Namespace: Unity.Labs.EditorXR.Interfaces
Syntax
public static class UsesDeleteSceneObjectMethods
Methods
DeleteSceneObject(IUsesDeleteSceneObject, GameObject)
Remove the game object from the scene
Declaration
public static void DeleteSceneObject(this IUsesDeleteSceneObject user, GameObject go)
Parameters
Type | Name | Description |
---|---|---|
IUsesDeleteSceneObject | user | The functionality user |
GameObject | go | The game object to delete from the scene |