Esempio n. 1
0
 private void Load()
 {
     editScenes = helper.LoadScenes();
     editScene  = editScenes[currentSceneNum];
     bg         = Resources.Load <Sprite>(editScene.BgPath);
     message    = "장면 불러오기를 완료했습니다.";
 }
Esempio n. 2
0
        private void Add()
        {
            ScenarioSceneDataModel scene = new ScenarioSceneDataModel();

            scene = editScene;
            helper.AddScene(editScenes, scene).SaveScenes(editScenes);
            message = "장면을 추가했습니다.";
        }
Esempio n. 3
0
        public ScenarioEditorHelper AddScene(List <ScenarioSceneDataModel> scenes, ScenarioSceneDataModel scene)
        {
            scenes.Add(scene);

            return(this);
        }