using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.Networking;
///
/// CSV 데이터를 다양한 소스에서 Pull 방식으로 로드할 수 있는 클래스입니다.
/// 호출 측에서 MoveNext()를 통해 처리 타이밍을 제어하세요.
///
public static class CSVLoader
{
/// CSV 파싱 로직 정의
public interface IParser
{
T Parse(string[] columns);
}
/// 로딩 진행 상태 메타데이터
public struct Progress
{
public int TotalRows;
public int RowsLoaded;
}
/// URL(HTTP)로부터 다운로드하여 파싱
public static IEnumerator