The Destroyer removes the target object from the world when executed. The Destroyer can also be used to destroy nodes.
Destroying an object with a button press
Target | The target object that will be destroyed |
Execute | Executes the Node |
Enabled | Enable or disable the node. Disabled nodes cannot be executed |
On Object Destroyed | Outputs links to other nodes or objects when the target object is destroyed |
Here's a link to an example game that shows how to use the Destroyer node: