Skip to content

Scene

extends EngineObject

The Scene class is used to represent a scene. This class provides methods for managing scene-related information and operations.

成员变量

Scene.instanceID : number
(Read-only) The instance ID of the object.
Scene.name : string
The name of the current scene.
Scene.gameObjectCount : number
(Read Only) The total number of game objects in the current scene.

成员方法

Scene.IsGameObjectExists ( go : GameObject ) : boolean
Check if the specified game object exists in the current scene.