public StoreScene() : base() { _purchaseCompleteDialog = new PurchaseCompleteDialog(""); _purchaseCompleteDialog.SelectionCallback = PurchaseDialogButtonCallback; _consumablesDialog = new ConsumablesDialog(); _dialogs.Add("loading-store", new LoadingDialog(LoadProducts)); _dialogs.Add("store-closed", new StoreClosedDialog()); _dialogs.Add("store-items", new StorePurchaseDialog(RegisterGameObject, UnregisterGameObject)); _dialogs.Add("purchase-complete", _purchaseCompleteDialog); _dialogs.Add("consumables", _consumablesDialog); }
public StoreScene() : base() { _itemsCarouselDialog = new StorePurchaseDialog(RegisterGameObject, UnregisterGameObject); _itemsCarouselDialog.ActionCallback = ItemDialogActionButtonCallback; _purchaseCompleteDialog = new PurchaseCompleteDialog(); _purchaseCompleteDialog.SelectionCallback = PurchaseDialogButtonCallback; _consumablesDialog = new ConsumablesDialog(); _dialogs.Add("loading-store", new LoadingDialog(ConnectToStore)); _dialogs.Add("store-closed", new StoreClosedDialog()); _dialogs.Add("store-items", _itemsCarouselDialog); _dialogs.Add("purchase-complete", _purchaseCompleteDialog); _dialogs.Add("consumables", _consumablesDialog); }