コード例 #1
0
ファイル: DialogManager.cs プロジェクト: halozxc/PlotEditor
    public void OpenTest()
    {
        string path = MyFile.AddGame();

        if (path != null)
        {
            StreamReader reader = new StreamReader(path);
            string       str    = reader.ReadToEnd();
            Dialog       dialog = JsonConvert.DeserializeObject <Dialog>(str);
            DialogToBehaviour(dialog);
        }
    }