2021年1月15日星期五

Unity3D: How to do object pooling without a spawner singleton

Usually, if you use object pooling, you make a singleton like in this video. After seeing this video, I discovered how messy singleton can be. Is there any other way to do object pooling without using singletons? I wanna instead use Events.

https://stackoverflow.com/questions/65745517/unity3d-how-to-do-object-pooling-without-a-spawner-singleton January 16, 2021 at 09:04AM

没有评论:

发表评论