<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />

Navigation

</aside>

Home Page

Overview

Levels Creation

Color Presets

Environment

Ball Skins

UI Store

Monetization (Ads & IAP)

How to add a new ball to the store

  1. Go to the Assets/Project Data/Game/Prefabs/BallSkins folder.

  2. Select any existing ball prefab and press Ctrl+D (Cmd+ D). Rename it properly. Open a newly created prefab.

  3. Change the Mesh field of the Mesh Filter component and the Material field of the Mesh Renderer component to your assets. Save prefab.

  4. Select the Ball Skins Database object located in the Assets/Project Files/Data/Store folder.

    image.png

  5. Click the little + button at the bottom of the list to add another skin.

    Untitled

  6. Assign the ball prefab. This database will provide skins to other game modules in our case to the store.

    image.png

  7. Select the Store Database object located in the Project Files/Data/Store folder. This database stores settings of all products displayed in the store.

    image.png

  8. Select the Balls ****tab at the top of the Product section ****of the window

  9. Click the little + button at the bottom of the Product section to add another product.

    Untitled

  10. Click the product called New Element to configure the fields:

    1. Name - a name of the product (just for your convenience)

    2. Opened Sprite - image of your product when it’s purchased

    3. Locked Sprite - image of your product when not purchased

    4. 2D Sprite Preview - leave it blank as the store uses 3D preview in this case.

    5. Skin Id - select the required product from the list.

    6. Purchase Type - the product can be purchased using currency or by watching rewarded videos

    7. Currency - a currency used for purchasing

    8. Cost - the amount of required currency to purchase the product or amount of required RVs.

    9. Tab - select the available store tab. You can configure tabs in the Tabs section above.

    10. Is Dummy - if the variable is checked product won’t be interactable

      image.png