<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />
Navigation
</aside>
Go to the Assets/Project Files/Game/Prefabs/EnvronmentSkins
folder.
Select any existing environment prefab and press Ctrl+D (Cmd+ D). Name it properly. Open a newly created prefab.
In the Hierarchy window, you will see four zones: Left, Right, Top, Bottom
Change game objects inside the prop game object in each of them. Make sure nothing sticks out from its area. Save prefab.
Select the Environment Skins Database object located in the Project Files/Data/Store
folder.
Click the little +
button at the bottom of the list to add another skin.
Assign the environment prefab. This database will provide skins to other game modules in our case to the store.
Select the Store Database object located in the Project Files/Data/Store
folder. This database stores settings of all products displayed in the store.
Select the Places
****tab at the top of the Product section ****of the window
Click the little +
button at the bottom of the Products section to add another product.
Click the product called New Element to configure the fields:
Name - a name of the product (just for your convenience)
Opened Sprite - image of your product when it’s purchased
Locked Sprite - image of your product when not purchased
2D Sprite Preview - leave it blank as the store uses 3D preview in this case.
Skin Id - select the required product from the list.
Purchase Type - the product can be purchased using currency or by watching rewarded videos
Currency - a currency used for purchasing
Cost - the amount of required currency to purchase the product or amount of required RVs.
Tab - select the available store tab. You can configure tabs in the Tabs
section above.
Is Dummy - if the variable is checked product won’t be interactable