// Use this for initialization private IEnumerator Start() { while (!LocalizationController.Instance().GetIsReady()) { yield return(null); } SceneManager.LoadScene("Main"); }
void Awake() { LocalizationController.Instance().LoadLocalizedText("en.json"); // LocalizationController.Instance().LoadLocalizedText("zh-Hans.json"); // LocalizationController.Instance().LoadLocalizedText("zh-Hant.json"); }
// Use this for initialization void Start() { Text text = GetComponent <Text>(); text.text = LocalizationController.Instance().GetLocalizedValue(key); }