Example #1
0
 public void PlayDialogue(Db.LocalizationDataId text, System.Action callback = null)
 {
     if (callback == null)
     {
         AudioManager.I.PlayDialog(text.ToString());
     }
     else
     {
         AudioManager.I.PlayDialog(text.ToString(), callback);
     }
 }
Example #2
0
 public static Db.LocalizationData GetLocalizationData(Db.LocalizationDataId id)
 {
     return(AppManager.I.DB.GetLocalizationDataById(id.ToString()));
 }