Scene Teleport Component
This component belongs to the following package:
- com.yahaha.sdk.gamemode
Description
This Scene Teleporter component enable player transportation across different scenes within a game.
Properties
| Properties | Description |
|---|---|
| Target Scene | Specifies the scene to which the player will be teleported: Next (default) leads to the very next scene after the current scene in the scene list. Any existing scene created in the project. |
| Target Position | Defines the specific position in the target scene where the player will appear: Spawn Point transports the player to the spawn point of the set scene. Custom designated a custom position. |
| Spawn Point Name | Enter the specific spawn point in the target scene to teleport the player to. You can find the name in the Spawn Point component attached to the object. |
| Position | Specifies the coordinates that the player will be teleported to. This option is only visible when the TargetPosition is set to Custom. |
Trigger
Action:
- Teleport
- Description:
- Teleport
- Description:
Related components
The Scene Teleporter Component must be used with the Spawn Point component, which assigns a unique name to identify and specify a spawn point.