Exemplo n.º 1
0
 /// <summary>
 /// Event02_08_FindCorpsesのロード
 /// </summary>
 /// <param name="saveController"></param>
 private void load_Event02_08_FindCorpses(SaveController02 saveController)
 {
     if (saveController.completed_Event02_08_FindCorpses())
     {
         eventPanel7.SetActive(false);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Event02_05_MeetMeikoのロード
 /// </summary>
 /// <param name="saveController"></param>
 private void load_Event02_05_MeetMeiko(SaveController02 saveController)
 {
     if (saveController.completed_Event02_05_MeetMeiko())
     {
         eventPanel4.SetActive(false);
     }
 }
Exemplo n.º 3
0
        /// <summary>
        /// ステージの初期化
        /// </summary>
        private void initializeStage()
        {
            SaveController02 saveController02 = new SaveController02();

            // データのロード
            SaveController.SceneNo[] scene = saveController02.get_Scene();
            SaveController.PlaceNo   place = saveController02.get_Place();

            // プレイヤーの位置を設定する
            if (scene[0].Equals(SaveController.SceneNo.Scene02) &&
                (place.Equals(SaveController.PlaceNo.Place02)))
            {
                Player.transform.position = entryPoint2.transform.position;
                Player.transform.rotation = entryPoint2.transform.rotation;
                saveController02.save_Scene(SaveController.SceneNo.Scene02, SaveController.PlaceNo.Place02);
            }
            else if (scene[0].Equals(SaveController02.SceneNo.Scene03))
            {
                Player.transform.position = entryPoint2.transform.position;
                Player.transform.rotation = entryPoint2.transform.rotation;
                saveController02.save_Scene(SaveController.SceneNo.Scene02, SaveController.PlaceNo.Place02);
            }
            else
            {
                Player.transform.position = entryPoint1.transform.position;
                Player.transform.rotation = entryPoint1.transform.rotation;
                saveController02.save_Scene(SaveController.SceneNo.Scene02, SaveController.PlaceNo.Place01);
            }

            load_Event02_01_Prologue(saveController02);
            load_Event02_05_MeetMeiko(saveController02);
            load_Event02_07_FindEnemies(saveController02);
            load_Event02_08_FindCorpses(saveController02);
        }
Exemplo n.º 4
0
        public bool event5()
        {
            // イベント完了を保存
            SaveController02 saveController02 = new SaveController02();

            saveController02.complete_Event02_05_MeetMeiko();
            return(true);
        }
Exemplo n.º 5
0
        public bool event2()
        {
            // イベント完了を保存
            SaveController02 saveController02 = new SaveController02();

            saveController02.complete_Event02_08_FindCorpses();
            return(true);
        }
Exemplo n.º 6
0
        public bool event9()
        {
            // イベント完了を保存
            SaveController02 saveController02 = new SaveController02();

            saveController02.complete_Event02_07_FindEnemies();
            return(true);
        }
Exemplo n.º 7
0
 /// <summary>
 /// Event02_01_Prologueのロード
 /// </summary>
 /// <param name="saveController"></param>
 private void load_Event02_01_Prologue(SaveController02 saveController)
 {
     if (saveController.completed_Event02_01_Prologue() == false)
     {
         Enemy1.SetWalkRange(0.0f);
         //Enemy1.SetSpeed(0.7f);
         //Enemy1.SetAccelSpeed(0.7f);
         Enemy1.SetReactDistance(0.0f);
         Enemy1.tag = "Enemy1";
         eventList  = new Event02_01_Prologue(this).GetEventList();
     }
 }
Exemplo n.º 8
0
        private bool event19()
        {
            // プロローグ完了を保存
            SaveController02 saveController02 = new SaveController02();

            saveController02.complete_Event02_01_Prologue();

            eventController02.Enemy1.SetWalkRange(100.0f);
            eventController02.Enemy1.SetSpeed(0.7f);
            eventController02.Enemy1.SetReactDistance(20.0f);
            return(true);
        }
Exemplo n.º 9
0
        public void Start()
        {
            base.Start();

            // イベント情報の設定
            setEventDictionary();

            // ステージの初期化
            initializeStage();

            // めいと会っていなければ会わせる
            SaveController02 saveController02 = new SaveController02();

            if (saveController02.completed_Event02_05_MeetMeiko() == false)
            {
                eventList = new Event03_00_MeetMeiko(this).GetEventList();
            }
        }
Exemplo n.º 10
0
        /// <summary>
        /// Event02_07_FindEnemiesのロード
        /// </summary>
        /// <param name="saveController"></param>
        private void load_Event02_07_FindEnemies(SaveController02 saveController)
        {
            if (saveController.completed_Event02_07_FindEnemies())
            {
                enemy4.SetSpeed(0.7f);
                enemy4.SetAccelSpeed(1.1f);
                enemy4.SetWalkRange(90.0f);

                enemy5.SetSpeed(0.7f);
                enemy5.SetAccelSpeed(1.1f);
                enemy5.SetWalkRange(90.0f);

                enemyGirl1.SetSpeed(0.7f);
                enemyGirl1.SetAccelSpeed(1.1f);
                enemyGirl1.SetWalkRange(60.0f);

                eventPanel6.SetActive(false);
            }
        }