Пример #1
0
    // Need a data structure for this to parse and fill out texts accordingly.
    // This needs to be thought through.
    // Main level, sublevel1, sublevel2


    // Use this for initialization
    void Start()
    {
        camera = GameObject.Find("Main Camera");
        lm     = this.GetComponent <LocalisationManager>();
        lm.LoadLocalisedText("localizedText_en.json");
        Debug.Log(lm);
        Debug.Log(lm.GetLocalisedValue("game_title"));
    }