*FREE code file on my Patreon*
Hello! This video is a simple tutorial to pick up items on collision - like picking up coins when we touch them! This method will work for any 2D game - platformer or top down etc :-)
All source code for all videos I have made and will make in the future can be found on my Patreon:
/ gamecodelibrary
Previous videos used to make this platformer:
• Platformer Player Movement - Unity 2D
• Easiest Player Tracking Camera - Unit...
• Easy Tilemaps and Dynamic Auto Tiling...
Spritesheet used: https://rottingpixels.itch.io/nature-...
I'll be posting new videos every Friday, so be sure to subscribe to see what kind of adventure we can go on together!
If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help me out on this journey ♡
0:00 - Intro
0:10 - Coin Object
0:38 - Object Tags
0:58 - Script
2:30 - Counter Text UI
3:25 - Finished!
3:32 - BONUS Prefabs! (Multiple coins)
4:02 - Outro
Смотрите видео Pick Up Items On Collision - Beginner Unity 2D онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Game Code Library 23 Июнь 2023. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 2,217 раз и оно понравилось 74 посетителям.