Super Knight : Enter the Dungeon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
835 B

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