A close cousin of the Object Pool pattern is the Prototype pattern; both of these are considered creational patterns. With the Prototype pattern, you can avoid the inherent cost of creating new objects by using a cloning mechanism. Therefore, instead of initializing new objects, you clone them from a reference object called a prototype. But in the context of the use case presented in this chapter, object pooling offers better optimization benefits.
- Tech Categories
- Best Sellers
- New Releases
- Books
- Videos
- Audiobooks
Tech Categories Popular Audiobooks
- Articles
- Newsletters
- Free Learning
You're reading from Game Development Patterns with Unity 2021 - Second Edition
David Baron is a game developer with over 15 years of experience in the industry. He has worked for some well-known AAA, mobile, and indie game studios in Montreal, Canada. His skill set includes programming, design, and 3D art. As a programmer, he has worked on various games for various platforms, including virtual reality, mobile, and consoles.
Read more about David Baron
Unlock this book and the full library FREE for 7 days
Author (1)
David Baron is a game developer with over 15 years of experience in the industry. He has worked for some well-known AAA, mobile, and indie game studios in Montreal, Canada. His skill set includes programming, design, and 3D art. As a programmer, he has worked on various games for various platforms, including virtual reality, mobile, and consoles.
Read more about David Baron