Esempio n. 1
0
    private void Start()
    {
        locoReader = new LocoReader("en-GB");
        Localizator.LocalizatorBook.AddReader(locoReader);
        Localizator.LocalizatorBook.OnLanguageChange += (d) =>
        {
            FirstText.text    = Localizator.Read("Future");
            SecondText.text   = Localizator.Read("FutureButton");
            LanguageText.text = Localizator.LocalizatorBook.CurrentLanguage;
        };

        Localizator.SetLanguage("en-GB");
    }