SetupForPurchase() public method

public SetupForPurchase ( ) : void
return void
Example #1
0
        private void HandlePurchaseConfirmationRequested()
        {
            showDragPanelTween.PlayBackwards();
            showPurchasePanelAlwaysAvailableTween.PlayBackwards();

            confirmationPanelUI.SetupForPurchase();

            ShopDecorationsManager.I.ResetSlotHighlights();

            AskForConfirmation(ShopDecorationsManager.I.ConfirmPurchase, ShopDecorationsManager.I.CancelPurchase);
        }
Example #2
0
        private void HandlePurchaseConfirmationRequested()
        {
            showDragPanelTween.PlayBackwards();
            showPurchasePanelAlwaysAvailableTween.PlayBackwards();

            confirmationPanelUI.SetupForPurchase();

            ShopDecorationsManager.I.ResetSlotHighlights();

            if (AnturaSpaceScene.I.TutorialMode)
            {
                AskForConfirmation(ShopDecorationsManager.I.ConfirmPurchase, null);
            }
            else
            {
                AskForConfirmation(ShopDecorationsManager.I.ConfirmPurchase, ShopDecorationsManager.I.CancelPurchase);
            }
        }