using UnityEngine; public abstract class IData { /// /// CSV 파일을 불러 올 때 사용합니다. /// /// /// public static string[] FileLoadWithLineSplit(string name) { return ((TextAsset)Resources.Load(string.Format(name)) as TextAsset).text.Split('\n'); } [Header("CSV 파일 경로")] public string path; /// /// 파일의 경로 와 테이블 로드 및 라인 제거에 필요한 이벤트 를 초기화 합니다. /// /// 경로 /// public void Initialized(string path) { this.path = path; } public abstract void TableLoad(); public abstract void LoadedCheck(); }