Scene

Módulo requerido

Componentes y propiedades

Nombre Descripción
SkyboxType Enumeration of skybox base types
Skybox Skybox
Fog Mode Type Fog effect base type
Game entity.Skybox Skybox Entity

Event

Nombre Descripción
On Scene Load Triggered when a scene is loaded successfully
On Player Switch Scene Triggered when the player switches scenes
On Scene Switch Triggered when the scene switches successfully

API

Nombre Descripción
Set Skybox Change the game’s skybox environment style, you can choose day, dusk, night, etc.
Load Scene Load Scenes without automatically unloading already loaded Scenes
Switch Area Switch the player to the specified location of the specified scene. Unloaded scenes will be automatically loaded, and loaded scenes will not be automatically unloaded.
Unload Scene Unload the specified scene
Switch Scene Switching to the specified scene will unload other loaded scenes
Get Map ID Get the scene map ID
Get Scene Skybox Get the scene’s skybox
Find Path Create a path from the start point to the end point, will avoid obstacles, and can be used for AI pathfinding