Ejemplo n.º 1
0
        public static Task TrelloCardToTask(IDictionary card)
        {
            string desc  = (string)card ["desc"];
            int    index = desc.IndexOf("TaskGround (");
            string sPos  = desc.Substring(index + "TaskGround ".Length);

            desc = desc.Substring(0, index);
            Debug.Log(sPos);
            return(new Task((string)card ["id"], TaskUtil.Vector3Parse(sPos), (string)card ["name"], desc, (string)card ["shortUrl"]));
        }