Unity game architecture design

1. 3 levels of unity architecture

EmptyGO

All functions are written in a script and mounted on the object. There is no single manager.

Simple GameManager

Write a public manager for easy calling

Manager of Managers

Different types of things use different managers [sound manager, level manager,]

2. Recommendations for using Manager

Several managers that medium-sized projects must include.
Insert image description here
It is best to also include the following managers
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_42581660/article/details/131319846