示例#1
0
    void Start()
    {
        FileParser.Parsers.FloorParser temp = new FileParser.Parsers.FloorParser("Assets/Game Data/TestFloor");

        try {
            temp.StartParse();
            Floor tempFloor = (Floor)temp.Generate();
            Debug.Log(tempFloor);
        }
        catch (System.Exception e) {
            string[] data = FileParser.ParserLogger.CollapseExceptions(e);
            Debug.Log(data[0]);

            ErrorLogger.CreateErrorLog(data[0], e, FileParser.ParserLogger.TempData);
        }
    }
示例#2
0
文件: TEST.cs 项目: Bullshitzu/SGU
    void Start()
    {
        FileParser.Parsers.FloorParser temp = new FileParser.Parsers.FloorParser("Assets/Game Data/TestFloor");

        try {
            temp.StartParse();
            Floor tempFloor = (Floor)temp.Generate();
            Debug.Log(tempFloor);
        }
        catch (System.Exception e) {
            string[] data = FileParser.ParserLogger.CollapseExceptions(e);
            Debug.Log(data[0]);

            ErrorLogger.CreateErrorLog(data[0], e, FileParser.ParserLogger.TempData);

        }
    }