Core::Instance
GameInstance in Unified Engine
The GameInstance
class stands as a central manager within the Unified Engine
framework. It manages the game loop, interactions, rendering, and holds references to core game objects and components.
Initialization and Cleanup
Upon creation, the GameInstance
sets up essential resources and configurations for the game. At destruction, it ensures proper cleanup.
Rendering and Interaction
The class defines essential rendering resources and interaction points for a consistent game experience.
Ticking Mechanism
The engine's main loop is governed by update and render ticks that ensure the game state is consistent and visuals are rendered smoothly.
Object Management
GameInstance
provides functionality to retrieve game objects and components based on their types, names, and tags.
Global Access
The engine provides global access to the game instance and offers essential utility functions for managing game objects.
Last updated