To rapidly begin any Unity project, I build a framework that includes:
· Singleton:
This folder comprises three distinct singleton scripts. BaseManager is the essential one, SingletonMono inherits from MonoBehaviour, and SingletonAutoMono is coded to automatically initialize as a GameObject.
· ResourceLoad:
This component is designed to load resources from the "Resources" folder within the Asset directory. It features methods for both synchronous and asynchronous loading.
· Mono:
It provides an "Update" method to scripts and managers that do not inherit from MonoBehaviour, enabling them to execute logic within Unity's lifecycle loop.
· EventCenter:
This management center is designed to uniformly handle all in-game events. It streamlines and facilitates game development processes.
· Pool:
This module serves as a buffer pool for game objects within the scene.
· Sound:
It manages all background music and sound effects in the game.
· Scene:
This component is to control the (synchronous and asynchronous) loading of scenes.
· Input:
It manages events of different kinds of input.
· UI:
This module offers a structured approach to assist developers in managing in-game UI and the logic behind UI components' interactions.
framework DEPENDENCY
Resource ADDRESS
Baidu Yun: https://pan.baidu.com/s/1gtMw_v_CCvFUlR-ABoKhQA?pwd=a0zr Password: a0zr