Example #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);
    }
Example #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);
    }