Lets get our Shop Code set up for our game! We'll get our shop stock up and populating in our UI as well as our players inventory appearing. The shop stock can be different per NPC, so very customisable! We'll also get our shop NPC working nicely.
Get the Code: / shop-npc-and-top-145287284
Download the Top Down Template🐸: https://gamecodelibrary.itch.io/top-d...
Full Playlist: • Top Down Tutorial Series - Unity 2D
Sprite sheet: https://pixel-boy.itch.io/ninja-adven...
All source code for all videos I have made and will make in the future can be found on my Patreon:
/ gamecodelibrary
If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help me out on this journey ♡
Check out the full platformer playlist!
• FULL Platformer Tutorial Series - Unity 2D
BUY THE COMPLETE PLATFORMER GAME TEMPLATE NOW!!!
https://gamecodelibrary.itch.io/2d-pl...
/ shop
#unity #gamedev #gamedevelopment #unity2d #topdown
0:00 - Intro
0:12 - CurrencyController
0:26 - CurrencyController Script
2:53 - ShopController
3:11 - ShopController Script
6:39 - ShopNPC
7:19 - ShopNPC Script
12:31 - ShopController UI Inspector Setup
13:45 - ShopController Script (continued!)
19:01 - Shop Stock Setup
19:39 - Shop Stock Test
20:14 - Fix Close Button
20:38 - Final Test
21:09 - Get the Code
21:26 - Outro