Spawn Point Component
This component belongs to the following package:
- com.yahaha.sdk.gamemode
Description
The Spawn Point component is used to designate a location in a scene where the player will appear when entering or respawning in that scene. Additionally, it acts as a teleportation point when the player transitions to a new scene from the previous one via the Scene Telepoint Point component. Place at least one spawn point to the scene. If a scene contains multiple spawn points, players will typically spawn at one of these points at random.
Properties
- Spawn Point Name: Assign a unique name to identify and label a location where the player will spawn within the game world. This name serves as a descriptive identifier for the spawn point, allowing it to be referenced by other components or scripts for various gameplay purposes.
Related components
The Spawn Point component is usually used with the Scene Teleporter component, which enables player transportation across different scenes within a game.