IEnumerator event1() { gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.showCG(chapter5); gameManager.instance.beWhite(0.02f); yield return(new WaitForSeconds(1)); gameManager.instance.playSE(changeChapter); yield return(new WaitForSeconds(2)); gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.hideCG(); gameManager.instance.playBgm(BGM); gameManager.instance.beWhite(0.02f); move = 1; playerMove = true; yield return(new WaitForSeconds(1.5f)); move = 0; playerMove = false; gamePanel.showTextPanel("墨铭", "抓紧时间追击!不能让单于跑掉!", 'L', face1, "bottom"); }
IEnumerator event2() { gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.showCG(chapter0); gameManager.instance.beWhite(0.02f); yield return(new WaitForSeconds(1)); gameManager.instance.playSE(changeChapter); yield return(new WaitForSeconds(2)); gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.hideCG(); gameManager.instance.playBgm(BGM); gameManager.instance.beWhite(0.02f); move = 1; playerMove = true; yield return(new WaitForSeconds(1.5f)); playerMove = false; player.Move(0); gamePanel.showTextPanel("墨铭", "我们担任的是巡逻和打击敌人的骚扰的任务,大家时刻保持警惕!", 'L', face1, "bottom"); }
IEnumerator event1() { gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.showCG(chapter4); gameManager.instance.beWhite(0.02f); yield return(new WaitForSeconds(1)); gameManager.instance.playSE(changeChapter); yield return(new WaitForSeconds(2)); gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.hideCG(); player.Move(0.01f); player.Move(0); gameManager.instance.playBgm(BGM); gameManager.instance.beWhite(0.02f); gamePanel.showTextPanel("墨铭", "前面就是单于的主力部队!我们的战车已经站住阵脚,精忠报国的时机已经到来!", 'L', face1, "bottom"); }
IEnumerator event1() { gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.showCG(chapter1); gameManager.instance.beWhite(0.02f); yield return(new WaitForSeconds(1)); gameManager.instance.playSE(changeChapter); yield return(new WaitForSeconds(2)); gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.hideCG(); player.Move(0.01f); player.Move(0); gameManager.instance.playBgm(BGM); gameManager.instance.beWhite(0.02f); gamePanel.showTextPanel("墨铭", "将士们!跟随大将军前进!我们的目标是定襄县城!", 'L', face1, "bottom"); }
IEnumerator event1() { gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.showCG(chapter3); gameManager.instance.beWhite(0.02f); yield return(new WaitForSeconds(1)); gameManager.instance.playSE(changeChapter); yield return(new WaitForSeconds(2)); gameManager.instance.beBlack(0.02f); yield return(new WaitForSeconds(1)); gamePanel.hideCG(); player.Move(0.01f); player.Move(0); gameManager.instance.playBgm(BGM); gameManager.instance.beWhite(0.02f); gamePanel.showTextPanel("墨铭", "根据俘虏的口供,伊稚斜单于就率兵驻扎在前方!", 'L', face1, "bottom"); }