3 hours ago, NeroGame said:
hey everyone!
so im trying to create an in game shope to spend the in game currency and i want the kind of shop that when you touch the skin you unlock it and select it (i've tried several ways didnt work only with a button ) so can anyone please help
What engine and can you show us what setup you have now?
By skin I assume you mean textures you are selling, and as such I will just call it the item.
The simplest way to do this would be to check if the mouse X and Y is over the item when clicked. Same as with any button.
If you are using a engine you should have some events for this. I will be able to provide better info when I know what you are using.
Edit: I now see the Unity tag.
Just make the Skin a Unity button, that way it will work the same.
If the skin is on a 3D object as a display, use a ray cast.