Пример #1
0
 private void ApplyInvalidMusicEntry()
 {
     audioSource.clip         = null;
     titleLabel.text          = I18n.__("bgmgallery.title");
     progressBar.interactable = false;
 }
Пример #2
0
 public string Get(string internalName)
 {
     return(I18n.__(map[internalName]));
 }
Пример #3
0
 /// <summary>
 /// Get the Bookmark of current state
 /// </summary>
 public Bookmark GetBookmark()
 {
     return(new Bookmark(walkedThroughNodes, currentIndex, I18n.__(currentDialogueEntry.dialogues),
                         lastVariablesHashBeforeAction));
 }
Пример #4
0
 private void UpdateText()
 {
     label.text = I18n.__($"config.key.{Enum.GetName(typeof(AbstractKey), key)}");
 }
Пример #5
0
 private void ResetAlerts()
 {
     Alert.Show(null, I18n.__("config.alert.resetalerts"), _resetAlerts);
 }
Пример #6
0
 private void OnGoBackButtonClicked(string nodeName, int dialogueIndex, int logEntryIndex)
 {
     alertController.Alert(null, I18n.__("log.back.confirm"),
                           () => _onGoBackButtonClicked(nodeName, dialogueIndex, logEntryIndex));
 }