Unity - Design Pattern: Object Pooling - 2024 Solution

Описание к видео Unity - Design Pattern: Object Pooling - 2024 Solution

YIn this video, I'm going to show the new object pool version to replace the first one that was created in 2023

The key changes include:
Use of Guid as pools key

Use of GameObject.GetInstanceID to handle returned objects

Added parameter to set the pool objects parent transform

Removed Pool generics

You can get the package and source code files here: https://github.com/Lasanha-Dev/Unity-...

You can check the old version here:    • Unity - Design Pattern: Object Poolin...  

If you have any questions or suggestions, just drop a comment down below.

00:00 Object Pool Class

03:10 PoolableObject

03:41 Demonstration

Комментарии

Информация по комментариям в разработке