Object Pooling Pattern in Unity 2D - Tank game tutorial P6

preview_player
Показать описание

00:00 Introduction
01:24 Recap
01:40 Bullet shooting memory problem
03:24 Object Pooling Implementation
08:38 How to use Object Pool
11:40 Testing Object Pool
12:25 Destroying Pulled Bullets On Death
16:53 Testing Destroying Bullets
17:21 Udemy Course
Resources

Would you like to learn how to make a 2d shooter in Unity?

You can support me through Patreon:

Assets used:

Object Pool Design Pattern article:

Join the discord:
Рекомендации по теме
Комментарии
Автор

Man i really want to thank you. You are one of the few game Dev teachers that care about making quality optimized games. Thanks so much!!!

monstereugene
Автор

Excellent explanation about object pooling!

aghost
Автор

Thanks for this video. Very interesting pattern.

devspace
Автор

I understand ObjectPooling but I could not destroy the bullets of enemy tenk after it got destroied. I type the same codes. It is working with your github file though. I need to recheck again.

hhcdghjjgsdrt
Автор

There was error that says I need to assign ObjectToPool of ObjectPool. I fixed it by my own by carrying Bullet Prefab to it.Thanks for tutorial but please sir, you need to be more spesific about it.Because Im beginner to Unity :)

brky