Exemplo n.º 1
0
    void LoadList(string[] record)
    {
        SceneDialogue sc = new SceneDialogue (
            record [0],
            record [1],
            int.Parse (record [2]),
            char.Parse(record[3])
            );
        scenedialogues.Add (sc);

        Debug.Log (sc.characher_NAME);
        Debug.Log (sc.dialogue + sc.pose);
    }
Exemplo n.º 2
0
    void LoadList(string[] record,int count)
    {
        try{

        SceneDialogue sc = new SceneDialogue (
            record [0].Trim(),
            record [1].Trim(),
            record [2].Trim(),
            record[3].Trim(),
            record[4].Trim(),
                record[5].Trim(),
            int.Parse (record [6].Trim()),
            record[7].Trim()
            );
        scenedialogues.Add (sc);
        //Debug.Log (sc.characher_NAME + "linenumber:" + count);
        //Debug.Log (sc.dialogue + sc.pose);
        }
        catch(Exception)
        {
            Debug.Log("Error in Line Number: " + count);
        }
    }