Skip to main content

Balloonmaker

Overview

The Balloonmaker component provides a simple interface for an entity to create and spawn "balloon" prefabs into the game world at a specific set of coordinates.

Dependencies & Tags

None identified.

Properties

PropertyTypeDefault ValueDescription
instEntitynilA reference to the entity instance this component is attached to.

Main Functions

MakeBalloon(x, y, z)

  • Description: Spawns a new "balloon" prefab into the world and sets its position.
  • Parameters:
    • x (number): The X-coordinate for the balloon's spawn location.
    • y (number): The Y-coordinate for the balloon's spawn location.
    • z (number): The Z-coordinate for the balloon's spawn location.