Unity项目架构设计与开发管理

本文探讨了Unity项目的架构设计,包括EmptyGO、GameManager、Managers of Managers和MVCS/MVVM等模式。在中型以上游戏开发中,通过MainManager定制和管理所有子Manager,实现单例协作。同时,文章提到了内存管理问题,指出简单的对象池设计存在的不足,并提出了改进方案——PoolManager,区分活跃和非活跃实例。最后,提及了StrageIOC作为依赖注入的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文链接:http://blog.csdn.net/u013108312/article/details/52555617
1.EmptyGO
2.Simple GameManager
3.Manager of Managers
4.MVCS(StrageloC)
5.MVVM(uFrame)
……….
1.EmptyGo
Put all the code without visual representation in the world onto an empty game object.
Use GameObject.Find() or inspector target references to communicate with each other.

3.Manager of Managers
中型以上的游戏。
MainManager customizes and manages all the sub-managers.
Submanagers operate as singletons and can easily address each other to collaborate.


                
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

iiiCircle

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值