Hello I’m having a hard time trying to figure out logic/code for making shops in my 3D platformer. There is a coin currency, but my coins (although that can be collected) do not have any functions outside of collecting them.
What is the solution commonly used for NPC shops?
I can’t figure out how to do shops! I’m thinking an NPC that shoots out a prefab from a list depending on how many coins you have when you select something?