Destroy

Node description and basic instructions

Description

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.

Fields

NameDescription

Node Name

Name of node

Ignore About Self

Whether node ignores abort self or not

Target

Target you want to destroy

Actual object destruction is always delayed until after the current Update loop, but will always be done before rendering.

Last updated