A Great Way To Setup POWERUPS In Your Unity Game
85.4 هزار بار بازدید -
2 سال پیش
-
Using Scriptable Objects as a
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: discord
We have channels to help you with your problems!
Thanks for watching!
#bmo #unity #tutorial
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: discord
We have channels to help you with your problems!
Thanks for watching!
#bmo #unity #tutorial
2 سال پیش
در تاریخ 1400/12/16 منتشر شده
است.
85,436
بـار بازدید شده