NAV
Unity

UIKit GS2-Inventory sample

Sample implementation of GS2-Inventory for taking inventory, consuming items, and retrieving items.

Folder structure

Account sample folder :

(Unity Project)/Assets/Game Server Services/Samples/UIKit/Gs2Inventory/.

Sample scene :

(sample folder)/Scenes/Inventory.unity.

The prefab on which this sample depends is The prefab must be placed in the scene.
- Gs2
- Gs2AccountAutoLogin

GS2-Deploy Sample Template:

(sample folder)/Settings/initialize_inventory_template.yaml.