void OpenFile() { string path = EditorUtility.OpenFilePanel("開啟劇情檔案", "", "asset"); if (path == "") { return; } path = path.Replace(Application.dataPath, "Assets"); scriptable_story story = AssetDatabase.LoadAssetAtPath <scriptable_story> (path); CharInfoCast(false, ref story.lst_charInfo); NodeInfoCast(false, ref story); rightPanel.SetNameArray(); rightPanel.SetQNodeList(); }