Skip to content
ct

Class

SpawnMoveInitializer2D

Generated GDScript class reference for ItemVault.SpawnMoveInitializer2D.

Status
Draft
Version
v1.0
Updated
Development docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Source: addons/item_vault/scene_spawner/2d/move_on_spawn_2d.gd

Syntax

class SpawnMoveInitializer2D extends Node

Members

NameKindSummary
spawnerPropertyAttaches a MoveOnSpawn component to scenes spawned by a SceneSpawner2D, enabling them to move in a direction for a set duration after instantiation. The spawner this script is attaching itself to the spawned signal for. When the spawner spawns a scene, this script will trigger by adding a MoveOnSpawn Node to the spawned scene.
settingsPropertySettings that describe how a SpawnMoveInitializer2D should behave.
spawner_nodeProperty
instanceProperty
spawner_posProperty
instance_posProperty
move_directionProperty
move_on_spawnProperty