示例#1
0
        internal void InitDefault(string excelPath)
        {
            CreateScenariosIfMissing();
            ChapterData chapter = new ChapterData();

            chapter.InitDefault(excelPath);
            chapterDataList.Insert(0, chapter);
            EditorUtility.SetDirty(this);
        }
示例#2
0
 void UpdateOldVersion()
 {
     if (excelList.Count > 0)
     {
         ChapterData chapter = new ChapterData();
         chapter.InitDefault(this.excelList);
         this.chapterDataList.Insert(0, chapter);
         this.excelList.Clear();
         EditorUtility.SetDirty(this);
         Debug.Log("Update Old Project");
     }
 }