Instantiating a lot of objects?
You can optimize your game and improve performance by following this Unity Tutorial and implementing object pooling!
Creating and deleting objects aren't necessarily expensive (computationally) on their own, but once you find your game creating the same object hundreds of times, its time to do better.
This is where Object Pooling comes in. Instead of creating and deleting objects, we're simply enabling and disabling from a pool of objects created at startup.
✨Want to support the channel?
Buy me a coffee ☕: https://ko-fi.com/bmoli
If this video helped you out, please give it a LIKE as that helps me out.
Leave a COMMENT if you have any questions, or if you'd like to share how you use object pooling in your project.
[SUBSCRIBE] for more game development content.
~~~~~~~~~~~~~~
ASSET LIST
~~~~~~~~~~~~~~
2D Space Kit: https://assetstore.unity.com/packages...
~~~~~~~~~~~~~~
#bmo #unity #gamedev
Смотрите видео OPTIMIZE and IMPROVE your game with OBJECT POOLING (Unity Tutorial) онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал BMo 17 Ноябрь 2019. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 13,026 раз и оно понравилось 421 посетителям.