GameScene Methods |
The GameScene type exposes the following members.
Name | Description | |
---|---|---|
![]() | Activate |
Activate the scene, this will update root node, camera, and invoke 'spawn' and 'load' events.
You do not need to call this function yourself, it is used internally.
|
![]() | BeforeDraw |
Called to update stuff right before drawing scene.
You do not need to call this function yourself, it is used internally.
|
![]() | Deactivate |
Deactivate the scene and invoke the 'unload' events.
You do not need to call this function yourself, it is used internally.
|
![]() | Destroy |
Destroy this scene.
After calling this, it cannot be used again. Also, don't call this on the currently active scene.
|
![]() | Draw |
Draw the scene.
You do not need to call this function yourself, it is used internally.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | FixedUpdate |
Triggers a Fixed Update event (update that happens every const amount of seconds).
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Load |
Make this scene the currently loaded scene.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update |
Called every frame to do GameObject events.
You do not need to call this function yourself, it is used internally.
|