Destroy Object
Last updated
Last updated
The Destroy Object Node deletes an Object or Prefab Instance, the latter of which means that the Prefab in the Asset Manager remains. All the children are destroyed as well.
Scope: Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Object
ObjectID
The Object to delete, if one is not provided in the Input Socket.
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Object ID
ObjectID
The Object to delete.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Success
Bool
Returns true or false, depending on whether the Object was successfully deleted or not.