Ejemplo 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);
    }
Ejemplo 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);
    }