How to make a shop system?

Hey guys, newbie here.
I’m currently trying to make a 2d side scrolling game where there’s a play button and a shop button. In a shop button, i would like to have Three characters that have their corresponding equip button. and when i push the equip button. it will change the character in the game? and also i have three weapons that will be equip in the character when equip button is pressed, i dont know what to do and have been watching tutorials, honestly i don’t know where to start. if you could HELP me out with this please.

I’ve seen some answers that i can just hide/unhide them during gameplay. But i really dont know how to do it.

This is your first game, DONT DO THIS. Go watch Learn game development w/ Unity | Courses & tutorials in game design, VR, AR, & Real-time 3D | Unity Learn then come back.

Your main menu is a unity scene. It has a button which loads the game play scene. Build your game play scene, get it so its playable, fun and nicely polished. Once its FINISHED you should have a much better understanding of how to build a game and then you will be ready to work on the shop/inventory system. In fact, the chances are that your game could be publishable without needing the inventory system. Most side scrollers didn’t need inventory systems (Mario).

Get your basic game up first. Learn to build games. Save this complexity for your second game.

For the shop system, you’ll need to make some fairly large design decisions before you even begin looking at how to implement it:

  1. How many currencies will be involved?
  2. Will you have items presorted, or will the player have sorting options.
  3. To extend the above, can the player hide things they can’t afford or aren’t eligible to buy?
  4. Will items be in one large store window, or separated into categories?
  5. If the items will be in categories, how will those be presented? In separate tabs? In a category list? In mini-inventories in one window?

After you figure all of this out, you need to look at creating a base shop class that other shops around your game can be derived from, all following the same template, and extend from there.

The weapon issue I’m not sure on, as I haven’t begun messing with that kind of system yet.

I think that the idea of replacing your weapon model in this fashion might be a bit of a challenge for someone who has just picked up unity. I would instead suggest you simply change the weapon’s texture instead. it’s a bit easier, and you wouldn’t have to worry about reattaching each object.

e.g.

starting weapon is a wood sword
upgrade to steel

As they said, this can get very complicated very quickly, and it will depend on the factors Morgrhim listed.

That being said, if you want to get some ideas from a long-winded example looking specifically at weapons, you could check out an official Unity example here.

But I suspect it will only get you part of the way toward what you’re looking for.

It is very useful method .I suggest you use

plz check this tutorial it may be useful: Shop System In Unity | Bus Selection With Cash Save System And Buy Mechanics - YouTube

How can I implement the functionality of shop system like in clash of clans into unity project. I used simple snap to make it look similar, but it is not working. Can anyone help or suggest something related to make the function of shop system in clash of clan in my unity project.
To detect the scroll has reached the end is ok but when it comes to like I have 4 scroll rect in my project and they are aligned like one is parent scrollrect and others are there chid of that parent scroll but the problem is that after the first scroll child go to the last position it do not go to the second child of the parent scroll. What can I do to achieve that?? Is there any method that I can call to activate the parent scroll which will go to the Second child of the parent scroll and Vise-versa???