Let's learn how to implement collectibles in Unity the right way! We'll look at how we can use the concepts of Inheritance and abstract classes to create a much cleaner system for our collectibles.
Download the scripts here👇
https://github.com/AnanD3V/Collectibl...
Learn more about abstract classes 👇
https://learn.microsoft.com/en-us/dot...
For doubts and stuff, join our discord club👇
/ discord
Check out my Instagram for MORE TIPS 👇
/ anandev.0
TIMESTAMPS 🔍
0:00 Intro
0:39 The problems with enums and this approach
1:50 A better collectible system
6:48 Collide only with the player
9:15 Recap
#unity3d #gamedev #tutorials #collectibles #gamedevelopment
If you have any questions, comment below, and I will try to answer them to the best of my knowledge.
Thank you for watching the video and reading this description. Take care.