Using Scriptable Objects as a driver for your Powerup system lets you create different types of powerups incredibly quick - but the BEST reason to do it is for separation of concerns amongst your components.
Your Scriptable Object powerup can focus on the one thing it does best, applying a powerup to a target, while all the other things like a Powerup Collider can just focus on detecting collision.
This is a clean code approach, and by using Delegate Objects you can save yourself from the horrible pain of spaghetti code as your code base gets larger.
This Unity Tutorial is a MUST LEARN to powerup (hee hee) your skill
✨Want to support the channel?
Buy me a coffee ☕: https://ko-fi.com/bmoli
➤SUBSCRIBE to become the very best game dev, like no one ever was 💘
➤Scriptable Object talk by Richard Fine: • Unite 2016 - Overthrowing the MonoBeh...
➤LIKE the video if you enjoyed, it really helps the channel!
➤Join our DISCORD SERVER: / discord
We have channels to help you with your problems!
Thanks for watching!
#bmo #unity #tutorial
Смотрите видео A Great Way To Setup POWERUPS In Your Unity Game онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал BMo 07 Март 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 87,444 раз и оно понравилось 2.4 тысяч посетителям.