private ConfirmationPopupProperties GetPopupData()
        {
            ConfirmationPopupProperties testProps = null;

            switch (currentPopupExample)
            {
            case 0:
                testProps = new ConfirmationPopupProperties("Uh-oh!",
                                                            "You were curious and clicked the button! Try a few more times.",
                                                            "Got it!");
                break;

            case 1:
                testProps = new ConfirmationPopupProperties("Question:",
                                                            "What is your favourite color?",
                                                            "Blue", OnBlueSelected,
                                                            "Red", OnRedSelected);
                break;

            case 2:
                testProps = new ConfirmationPopupProperties("Pretty cool huh?",
                                                            "Let's return our buddy to its original color.",
                                                            "Fine.", OnRevertColors);
                break;

            case 3:
                testProps = new ConfirmationPopupProperties("YOU DIED",
                                                            "The Dark Souls of Pop-Ups", "Respawn");
                break;
            }

            currentPopupExample++;
            if (currentPopupExample > 3)
            {
                currentPopupExample = 0;
            }

            return(testProps);
        }
 private void OnShowConfirmationPopup(ConfirmationPopupProperties popupPayload)
 {
     uiFrame.OpenWindow(ScreenIds.ConfirmationPopup, popupPayload);
 }