Click or drag to resize
GameScene Methods

The GameScene type exposes the following members.

Methods
  NameDescription
Public methodActivate
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.
Public methodBeforeDraw
Called to update stuff right before drawing scene. You do not need to call this function yourself, it is used internally.
Public methodDeactivate
Deactivate the scene and invoke the 'unload' events. You do not need to call this function yourself, it is used internally.
Public methodDestroy
Destroy this scene. After calling this, it cannot be used again. Also, don't call this on the currently active scene.
Public methodDraw
Draw the scene. You do not need to call this function yourself, it is used internally.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFixedUpdate
Triggers a Fixed Update event (update that happens every const amount of seconds).
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Make this scene the currently loaded scene.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Called every frame to do GameObject events. You do not need to call this function yourself, it is used internally.
Top
See Also