class GameObjectSystem

Purpose

A good example of this is the animation GameObjectSystem. Instead of animating each component individually, we can do them all together in a thread. This is obviously much faster, but it also means that all of the bones get worked out at a set time during the frame.
book_4_sparkGenerated
code_blocksInput

Description

The GameObjectSystem class in the Sandbox namespace allows for the creation of a system that is always present in every scene. It integrates with the scene's lifecycle and is disposed of when the scene is disposed. This class is abstract and must be inherited to be used.

Members

Instance Members

Member NameSummary
DisposeDisposes of the GameObjectSystem, cleaning up resources when the scene is disposed.
SceneGets the scene associated with this GameObjectSystem.