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