🍬
Candy Merge
  • Welcome
  • Getting Started
    • Quickstart
    • ‼️Installation Guide
  • Settings & Configuration
    • Runtime Settings
    • Editor Settings
    • Game Settings
    • Camera Settings
    • Candy Settings
    • Player Settings
  • SYSTEMS
    • Candies
    • Game Over
    • Level
    • Managers
    • Menu
    • Pause
    • Save
    • Transition
    • UI Components
    • User
Powered by GitBook
On this page
  • Game Manager System
  • Overview
  • Classes
  1. SYSTEMS

Managers

PreviousLevelNextMenu

Last updated 2 months ago

Game Manager System

Overview

The Game Manager system is responsible for managing the overall game functionality, including application lifecycle, and input events. This system ensures that the game operates smoothly by handling essential tasks such as initializing settings, and cleaning up resources when the application quits.

Classes

GameManager

Manages the overall game functionality, including application lifecycle. This class inherits fromto ensure that only one instance of the GameManager exists. It handles the initialization of the EventSystem, and cleans up resources when the application quits.

Key Responsibilities:

  • Event System Management: Manages the used for handling input events in the game.

  • Application Lifecycle Management: Handles the cleanup of application resources when the game is about to quit.

Example Use Cases

  1. Managing Input Events: The class initializes and manages the used for handling input events in the game. This ensures that all input events are processed correctly and efficiently.

  2. Cleaning Up Resources: The class handles the cleanup of application resources when the game is about to quit. This ensures that all resources are properly released and the application exits gracefully.

By using the Game Manager system, you can manage the essential functionalities of the Candy Merge game, such as input events, and application lifecycle, providing a smooth and enjoyable gameplay experience for players.

SingleSingleton<GameManager>
EventSystem
EventSystem
GameManager
GameManager