コード例 #1
0
        void SetBiographyWindow()
        {
            createCharBiographyWindow          = new CreateCharBiography(uiManager, characterDocument);
            createCharBiographyWindow.OnClose += CreateCharBiographyWindow_OnClose;

            createCharBiographyWindow.ClassIndex = characterDocument.classIndex;
            wizardStage = WizardStages.BiographyQuestions;
            uiManager.PushWindow(createCharBiographyWindow);
        }
コード例 #2
0
        void SetChooseBioWindow()
        {
            if (createCharChooseBioWindow == null)
            {
                createCharChooseBioWindow          = new CreateCharChooseBio(uiManager, createCharRaceSelectWindow);
                createCharChooseBioWindow.OnClose += CreateCharChooseBioWindow_OnClose;
            }

            // Reset biography window in case user already answered it then cancelled
            createCharBiographyWindow = null;

            wizardStage = WizardStages.SelectBiographyMethod;
            uiManager.PushWindow(createCharChooseBioWindow);
        }
コード例 #3
0
        void SetBiographyWindow()
        {
            if (createCharBiographyWindow == null)
            {
                if (!characterDocument.isCustom)
                {
                    characterDocument.classIndex = createCharClassSelectWindow.SelectedClassIndex;
                }
                createCharBiographyWindow          = new CreateCharBiography(uiManager, characterDocument);
                createCharBiographyWindow.OnClose += CreateCharBiographyWindow_OnClose;
            }

            createCharBiographyWindow.ClassIndex = characterDocument.classIndex;
            wizardStage = WizardStages.BiographyQuestions;
            uiManager.PushWindow(createCharBiographyWindow);
        }