예제 #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));
 }