void GameTick()

robot_2Generated
code_blocksInput

Description

The GameTick method is a public instance method of the Scene class in the Sandbox framework. It is responsible for updating the game logic for the current scene. This method is typically called once per frame to process game logic, update game objects, and handle any necessary state changes within the scene.

Usage

To use the GameTick method, ensure that you have an instance of the Scene class. This method does not take any parameters and does not return a value. It is usually called automatically by the game engine during the game loop, so you typically do not need to call it manually.

Example

// Assuming 'scene' is an instance of Sandbox.Scene
scene.GameTick();