Example #1
0
        private void OnClearInterval() // クリアインターバル実行中
        {
            IntervalStageText[iNowStage].SetActive(true);
            IntervalBack.SetActive(true);             //半透明な背景を映す
            IntervalClearText.SetActive(true);        //ステージクリアの文字を映す
            IntervalButtons.SetActive(true);          //ボタンを映す

            Time.timeScale    = 0;
            Shooting_2.bPause = true;

            if (ButtonFlg)//インターバルの時間のカウント
            {
                ButtonFlg = false;
                StageBGM.MainBGMSoundSystem.BGM_Change = true;
                StageBGM.MainBGMSoundSystem.StageBGM_number++;
                iNowStage++;
                Switching(1);

                JikiUI.JikiMove.JikiPosition.x = 130;
                iIntervalCount = 0;

                BoxScript.ugoku =
                    enemys.SpawnPoint_Behind.EnemyGenerationFlg = true;

                IntervalType = INTERVAL_TYPE.INTERVAL_START;
            }
        }
Example #2
0
        // Use this for initialization
        void Start()
        {
            Button NextButton = IntervalNextButton.GetComponent <Button>();

            NextButton.onClick.AddListener(NextButtonOnClick);

            Button EndButton = IntervalEndButton.GetComponent <Button>();//スタート(ポーズ中)

            EndButton.onClick.AddListener(EndButtonOnClick);

            iNowStage      = SelectManager.SelectMgr.iSelectStage;
            iIntervalCount = 0;

            ButtonFlg    = false;
            aikonMoveFlg = false;

            i_E_C_Count = CREATE_ENEMY_TIME;

            IntervalType = INTERVAL_TYPE.INTERVAL_START;

            IntervalBack.SetActive(true);                 //半透明な背景を映す
            IntervalStartText.SetActive(true);            //ステージスタートの文字を映す
            IntervalClearText.SetActive(false);           //ステージクリアの文字を消す

            IntervalButtons.SetActive(false);             //ボタンを消す
            IntervalStageText[iNowStage].SetActive(true); //今のステージの文字を映す

            for (int i = 0; i <= 4; i++)                  //それ以外のステージの文字を消す
            {
                if (i != iNowStage)
                {
                    IntervalStageText[i].SetActive(false);
                }
            }
        }
Example #3
0
 private void OnStartInterval() // スタートインターバル実行中
 {
     Time.timeScale    = 0;
     Shooting_2.bPause = true;
     if (++iIntervalCount > START_INTERVAL_TIME)//インターバルの時間のカウント
     {
         Switching(0);
         IntervalType = INTERVAL_TYPE.UN_INTERVAL;
     }
 }