GameCore is the core of the entire framework, designed to access all global classes and initiate the game.
GameCore is a MonoBehaviour script attached to a GameObject. Global classes are also MonoBehaviour scripts, attached to the child objects of the GameObject where GameCore is located.
The framework currently includes the following global managers:
- DataManager: Handles data access and modification.
- EventManager: Registers and broadcasts events.
- LevelManager: Manages specific in-level logic.
- ResourceManager: Loads and releases resources.
- SceneManager: Handles scene transitions.
- SoundManager: Plays music and sound effects.
- UIManager: Manages opening and closing of UI interfaces.
Click here to see the usage of these build-in managers. You can also refer to my open-source demo, ForeverUp!, for additional insights.
- Ensure the new manager inherits from
MonoBehaviour. - Create a child object under the
GameCoreGameObject and attach the new manager script to it. - Add a variable for the new manager in
GameCore. - Drag and drop the manager reference to
GameCore.
If you have any questions or suggestions, feel free to reach out and discuss with me: anguskungcn@foxmail.com.

