NAV
Unity

UIKit GS2-Inventory サンプル

GS2-Inventory によるインベントリの取得、アイテムの消費、アイテムの取得の実装サンプルです。

フォルダ構成

Account サンプルのフォルダ:

(Unityプロジェクト)/Assets/Game Server Services/Samples/UIKit/Gs2Inventory/

サンプルシーン:

(Unityプロジェクト)/Assets/Game Server Services/Samples/UIKit/Gs2Inventory/Scenes/Inventory.unity

このサンプルは以下のプレハブに依存しています。プレハブ内のフィールドに設定が必要です。
- Gs2
- Gs2AccountAutoLogin

GS2-Deploy サンプルテンプレート:

(Unityプロジェクト)/Assets/Game Server Services/Samples/UIKit/Gs2Inventory/Settings/initialize_inventory_template.yaml