Ejemplo n.º 1
0
 /**
  *
  */
 private void SetTextTitles()
 {
     UiUtils.SetResourceText("ManualTerrainTitle", StringIds.IdSettingsTerrainTitle);
     UiUtils.SetResourceText("ManualTerrainText", StringIds.IdManualTerrainText);
     UiUtils.SetResourceText("ManualTreesTitle", StringIds.IdManualTreesTitle);
     UiUtils.SetResourceText("ManualTreesText", StringIds.IdManualTreesText);
 }
Ejemplo n.º 2
0
        /**
         *
         */
        private void SetTextTitles()
        {
            //set title text
            UiUtils.SetResourceText("ScreenTitleLoadFile", StringIds.IdLoadFileTitle);
            //set error message text
            var errorMessage = GameObject.Find("MapFileErrorMessageLoadFile");

            if (errorMessage != null)
            {
                UiUtils.SetResourceText("MapFileErrorMessageLoadFile", StringIds.IdLoadFileErrorMessage);
            }
        }
Ejemplo n.º 3
0
 /**
  * Set translated text into labels
  */
 private void SetTextTitles()
 {
     UiUtils.SetResourceText("ScreenTitleSettings", StringIds.IdSettingsTitle);
     UiUtils.SetResourceText("LanguageLabelSettings", StringIds.IdSettingsLanguageTitle);
     UiUtils.SetResourceText("GraphicsLabelSettings", StringIds.IdSettingsGraphicsTitle);
     UiUtils.SetResourceText("RoadObjectsLabelSettings", StringIds.IdSettingsRoadObjectsTitle);
     UiUtils.SetResourceText("TreesLabelSettings", StringIds.IdSettingsTreesTitle);
     UiUtils.SetResourceText("ModelLabelSettings", StringIds.IdSettingsModelsTitle);
     UiUtils.SetResourceText("ModelTypeLabelSettings", StringIds.IdSettingsModelsLoadingStorageTitle);
     UiUtils.SetResourceText("ShowTutorialLabel", StringIds.IdSettingsTutorialTitle);
     UiUtils.SetResourceText("TerrainLabelSettings", StringIds.IdSettingsTerrainTitle);
     UiUtils.SetResourceText("InfoTreesText", StringIds.IdSettingsTreesInfo);
     UiUtils.SetResourceText("InfoTerrainText", StringIds.IdSettingsTerrainInfo);
     VersionUtils.SetVersion();
 }
Ejemplo n.º 4
0
 /**
  * Set text of start button
  */
 private void Start()
 {
     UiUtils.SetResourceText(gameObject.name, StringIds.IdMainMenuButtonStart);
 }
Ejemplo n.º 5
0
 /**
  *
  */
 private void SetTextTitles()
 {
     UiUtils.SetResourceText("ScreenTitleLoading", StringIds.IdLoadingTitle);
 }