public BrickList ParseClipboard() { BrickList returnList = new BrickList(); string text = Helper.ReadClipboard(); if (text.StartsWith("{\"bricks\":")) // brickbuilder json clipboard format { returnList = JsonUtility.FromJson <BrickList>(text); } else { try { returnList = MapParser.ParseBRKBricks(text); } catch (Exception e) { Debug.LogException(e); } } return(returnList); }