Exemple #1
0
        // Use this for initialization
        private IEnumerator Start()
        {
            while (!LocalizationController.Instance().GetIsReady())
            {
                yield return(null);
            }

            SceneManager.LoadScene("Main");
        }
Exemple #2
0
 void Awake()
 {
     LocalizationController.Instance().LoadLocalizedText("en.json");
     // LocalizationController.Instance().LoadLocalizedText("zh-Hans.json");
     // LocalizationController.Instance().LoadLocalizedText("zh-Hant.json");
 }
Exemple #3
0
        // Use this for initialization
        void Start()
        {
            Text text = GetComponent <Text>();

            text.text = LocalizationController.Instance().GetLocalizedValue(key);
        }