Esempio n. 1
0
    public void LoadUIWithDescription(string uiDesPath)
    {
        string path = "UIDescriptions/" + uiDesPath;

        UIDescriptionParser parser = new UIDescriptionParser();

        var json = LoadTextFromPath(path);

        UIDescription uiDes = parser.ParseFromJson(json);

        LoadUIWithDescription(uiDes);
    }
Esempio n. 2
0
    public void LoadUIWithDescription(string uiDesPath)
    {
        string path = "UIDescriptions/" + uiDesPath;

        UIDescriptionParser parser = new UIDescriptionParser();

        var json = LoadTextFromPath(path);

        UIDescription uiDes = parser.ParseFromJson(json);

        LoadUIWithDescription(uiDes);
    }