Skip to content

Commit

Permalink
Update TextTranslator.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
azarashi2931 committed Apr 1, 2020
1 parent b3428d8 commit ef17fab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ void Start()
{
textComponent = GetComponent<Text>();
LanguageManager.Instance.OnLanguageChanged.TakeUntilDestroy(this).Subscribe(UpdateText);
UpdateText(LanguageManager.Instance.Translator);
}

private void UpdateText(ILanguageTranslator translator)
Expand Down

0 comments on commit ef17fab

Please sign in to comment.