// Update is called once per frame
        void Update()
        {
            fadeInButtonText.text  = converter.GetMessage("test.helpers.saveLoadIndicator.fadeInButton");
            fadeOutButtonText.text = converter.GetMessage("test.helpers.saveLoadIndicator.fadeOutButton");

            converter.language = language;
        }
Exemple #2
0
        // Update is called once per frame
        void Update()
        {
            converter.language = language;

            resumeButtonText.text = converter.GetMessage("test.helpers.rotateObject.resumeRotationButton");
            pauseButtonText.text  = converter.GetMessage("test.helpers.rotateObject.pauseRotationButton");
        }
Exemple #3
0
        public void Populate(int tipnumber)
        {
            currentTip = tipnumber;

            descriptionText.text = converter.GetMessage($"game.loadingScreens.message{tipnumber}.description");
            headerText.text      = converter.GetMessage($"game.loadingScreens.message{tipnumber}.header");
        }
Exemple #4
0
    // Update is called once per frame
    void Update()
    {
        converter.language = language;

        gameTimeText.text     = converter.GetMessage("test.helpers.timer.gameTimeText", converter.secondsToTime(gameTimer.elapsed));
        resumeButtonText.text = converter.GetMessage("test.helpers.timer.resumeTimeButton");
        pauseButtonText.text  = converter.GetMessage("test.helpers.timer.pauseTimeButton");
    }
Exemple #5
0
        // Update is called once per frame
        void Update()
        {
            converter.language = language;

            this.stateManager.ExecuteStateUpdate();

            gameModeText.text     = converter.GetMessage("test.fsm.gameModeString", gameStateString);
            gameTimeText.text     = converter.GetMessage("test.fsm.gameTimeString", converter.secondsToTime(gameTimer.elapsed));
            resumeButtonText.text = converter.GetMessage("test.fsm.gameStateButton");
            pauseButtonText.text  = converter.GetMessage("test.fsm.pauseStateButton");
        }
        // Update is called once per frame
        void Update()
        {
            converter.language = defaultLanguage;

            bool doesExist = SaveSystem.SaveFileExists(0);

            saveGameButtonText.text     = converter.GetMessage("test.saveGame.saveGameButton");
            loadGameButtonText.text     = converter.GetMessage("test.saveGame.loadGameButton");
            deleteGameButtonText.text   = converter.GetMessage("test.saveGame.deleteGameButton");
            infoHeaderText.text         = converter.GetMessage("test.saveGame.infoHeader");
            infoTimeStampText.text      = converter.GetMessage("test.saveGame.infoTimeStamp");
            infoTestStringText.text     = converter.GetMessage("test.saveGame.infoTestString");
            infoPlayerPositionText.text = converter.GetMessage("test.saveGame.infoPlayerPosition");

            if (doesExist)
            {
                loadGameButton.interactable   = true;
                deleteGameButton.interactable = true;

                saveGamePanel.SetActive(true);
            }
            else
            {
                loadGameButton.interactable   = false;
                deleteGameButton.interactable = false;

                saveGamePanel.SetActive(false);
            }
        }
Exemple #7
0
 void UpdateDebugPanel()
 {
     debugGameTimeText.text = converter.GetMessage("game.debug.gameTime", converter.secondsToTime(GameManager.Instance.gameTime));
     debugGameModeText.text = converter.GetMessage("game.debug.gameMode", GameManager.Instance.gameMode);
 }
        // Update is called once per frame
        void Update()
        {
            converter.language = language;

            this.stateManager.ExecuteStateUpdate();

            versionString.text   = converter.GetMessage("game.menu.versionInfo", version != "" ? version : "");
            startGameString.text = converter.GetMessage("game.menu.welcome.startGame");

            autoSaveMessage.text = converter.GetMessage("game.menu.autosave.message");

            menuNewGameButton.GetComponentInChildren <TMP_Text>().text     = converter.GetMessage("game.menu.main.menuNewGameButton");
            menuContinueButton.GetComponentInChildren <TMP_Text>().text    = converter.GetMessage("game.menu.main.menuContinueButton");
            menuOptionsGameButton.GetComponentInChildren <TMP_Text>().text = converter.GetMessage("game.menu.main.menuOptionsGameButton");

            optionsHeader.text            = converter.GetMessage("game.menu.options.header");
            optionsSubHeaderGame.text     = converter.GetMessage("game.menu.options.subHeaderGame");
            optionsSubHeaderAudio.text    = converter.GetMessage("game.menu.options.subHeaderAudio");
            optionsSubHeaderVideo.text    = converter.GetMessage("game.menu.options.subHeaderVideo");
            optionsSubHeaderControls.text = converter.GetMessage("game.menu.options.subheaderControls");
            optionsFooter.text            = converter.GetMessage("game.menu.options.footer");
        }
Exemple #9
0
        void Update()
        {
            converter.language = language;

            testString.text = converter.GetMessage("test.helpers.attachUIToGameObject.anchorPointString");
        }
        void Update()
        {
            converter.language = language;

            testString.text = converter.GetMessage("test.helpers.pulseText.testString");
        }
Exemple #11
0
        // Update is called once per frame
        void Update()
        {
            converter.language = defaultLanguage;

            secondsToTimeInput = Time.time;

            stringToValueOutput.text      = converter.StringToValue(stringValueInput).ToString();
            valuetoStringIntOutput.text   = converter.ValueToString(intValueInput);
            valueToStringFloatOutput.text = converter.ValueToString(floatValueInput);

            TwelveHourClockOutput.text     = converter.HoursToClock(hourInput, 12);
            TwentyFourHourClockOutput.text = converter.HoursToClock(hourInput, 24);
            gameTimeOutput.text            = converter.secondsToTime(secondsToTimeInput);

            testStringOutput.text = converter.GetMessage("test.i18n.testString", Random.Range(100, 500).ToString());

            valuesHeader.text             = converter.GetMessage("test.i18n.values");
            timeHeader.text               = converter.GetMessage("test.i18n.time");
            stringToValueTitle.text       = converter.GetMessage("test.i18n.stringToValue");
            valuetoStringIntTitle.text    = converter.GetMessage("test.i18n.valueToIntString");
            valueToStringFloatTitle.text  = converter.GetMessage("test.i18n.valueToFloatString");
            TwelveHourClockTitle.text     = converter.GetMessage("test.i18n.twelveHourClock");
            TwentyFourHourClockTitle.text = converter.GetMessage("test.i18n.twentyFourHourClock");
            gameTimeTitle.text            = converter.GetMessage("game.modules.i18n.secondsToTime");

            languageGermanButtonText.text  = converter.GetMessage("test.i18n.languageGermanButton");
            languageEnglishButtonText.text = converter.GetMessage("test.i18n.languageEnglishButton");
        }