Attach To Parent

Description #

Attach an object as a child to another object after a specific event instead of doing it manually from the Model Menu of the object.

Time Based #

Not a time-based block (won’t take time to finish execution).

Inputs #

This block has 3 Inputs:

  • Sequential Input.
  • GameObject: The Child game object. If connected to a game object it overrides the game object you are writing the code inside. If it is not connected to a game object, by default, it is the object you are writing code inside.
  • Parent: The parent game object. Can be selected as an input or by choosing it from the dropdown menu. If connected to a game object it overrides the game object you chose from the dropdown menu.

Outputs #

This block has only one Sequential Output.

Example #

Cube-1 will be a child of Cube-1-1 when Cube-1 enters TriggerBox-1.

Powered by BetterDocs