using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TON { public class IntroStoryDataManager : MonoBehaviour { public List introStories { get; private set; } private void Awake() { LoadIntroStoryData(); } private void LoadIntroStoryData() { introStories = JSONLoader.LoadFromResources>("intro_story"); if (introStories == null) { introStories = new List(); Debug.LogError("스토리 데이터 로드 실패"); } } } }