コード例 #1
0
    private void Start()
    {
        Application.targetFrameRate = 60;
        Time.timeScale = 1;

        floorNamber = 0;

        EPSystem[0].EPSFOne();

        BlockObj.playerDeid = false;
        StageEffect.EffectActive(floorNamber);

        towerState = TowerState.GameStart;
        FadeIO.fadeIo.FadeIn(40);
        SEMaster.AudioFadeInStart(40);
        BGMMaster.AudioFadeInStart(40);
    }
コード例 #2
0
    /// <summary>
    /// クリア時の処理
    /// </summary>
    private void FloorClear()
    {
        floorNamber++;
        cameraOp.nam = floorNamber;
        cameraOp.SetTergetPos();
        DestoryAnderObj();
        EPSystem[floorNamber - 1].TowerEnd();

        EPSystem[floorNamber].SetEndBlock(towers[floorNamber - 1].hitBlock);

        EPSystem[floorNamber].EPSStart();
        EPSystem[floorNamber].CamaeraUpStert();
        StageEffect.EffectActive(floorNamber);

        floorUI.setTowerNam(floorNamber);

        towerState = TowerState.CametaUpUpdate;
    }