<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />
Navigation
</aside>
Select any existing boat in the Assets/Project Files/Game/Prefabs/Boats
folder.
Press Ctrl + D (Cmd + D on Mac) to duplicate the prefab.
Rename it as you wish
Double-click to open it
Drag and drop new boat visuals into an object called BoatSkin. The new model in this example is called boat3
Align new model compared to the previous one (you can change its position, rotation, and scale)
Once you’re happy with the position, delete the old model.
Select the BoatSkin object and adjust the collider to the shape of the boat if needed.
Select the Boat Skins Database object located in the Assets/Project Files/Data/Store
folder.
Click the little +
button at the bottom of the list to add another skin.
Assign the preview image and the boat prefab. This database will provide skins to other game modules in our case to the store.
Select the Store Database object located in the Assets/Project Files/Data/Store
folder. This database stores settings of all products displayed in the store.
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