Ejemplo n.º 1
0
    void DefinePath(List <List <Vector2> > directions)
    {
        string res = "";

        if (directions == null)
        {
            //writerManager.ParseKanji("");
            Clear();
            return;
        }
        foreach (List <Vector2> item in directions)
        {
            res += item.Count;
            foreach (Vector2 dir in item)
            {
                res += dir.ToString();
            }
        }
        if (IsDebug)
        {
            Debug.Log(res);
        }

        writerManager.ParseKanji(directions.Count.ToString(), res);
    }