top of page

Set GameObject Node

Behavior Tree Editor

Unity

Description

The set gameobject node takes a gameobject reference and a gameobject. It sets the value of the gameobject reference to the gameobject. Always returns true unless one of the values is null. The node has no children.

Fields/Buttons

  • Target Game Object (gameObject reference) - The gameObject reference that will be set to the value of the ‘Input Game Object’.

  • Input Game Object (gameObject) - The game object that will be applied to the gameObject reference

Pipeline

Adding The Node:

Right click in the graph view of the behavior tree, select “SetGameObject” from the Node Menu.

bottom of page