top of page
Unityxyz
Flyweight Design Pattern
Project Files for the course: Download Link
In this series we are going to learn about Flyweight design pattern.
1. Flyweight design pattern is used when we need to optimized the storage by sharing common data between different gameObjects.
2. It is very useful when it comes to optimizing space in games by avoiding duplication of data again and again.
3. Another advantage of this pattern is that it allows for reuse of common data among different elements.
4. This reuse allows us to easily edit the common element at a single place instead of editing again and again.
bottom of page