Destroy
Node description and basic instructions
Last updated
Node description and basic instructions
Last updated
Destroys a gameobject, component or asset.
The object obj will be destroyed now or if a time is specified t seconds from now.
To create it, right-click on free space in AI Tree inspector and select Create Node/Tasks/Object/Destroy.
This task node has a number of fields, that are highlighted in picture below.
Actual object destruction is always delayed until after the current Update loop, but will always be done before rendering.
Name | Description |
---|---|
Node Name
Name of node
Ignore About Self
Whether node ignores abort self or not
Target
Target you want to destroy