private void Load() { editScenes = helper.LoadScenes(); editScene = editScenes[currentSceneNum]; bg = Resources.Load <Sprite>(editScene.BgPath); message = "장면 불러오기를 완료했습니다."; }
private void Add() { ScenarioSceneDataModel scene = new ScenarioSceneDataModel(); scene = editScene; helper.AddScene(editScenes, scene).SaveScenes(editScenes); message = "장면을 추가했습니다."; }
public ScenarioEditorHelper AddScene(List <ScenarioSceneDataModel> scenes, ScenarioSceneDataModel scene) { scenes.Add(scene); return(this); }