IEnumerator hint1() { player.Move(0); Camera.main.GetComponent <CameraFollow>().Active = false; trigger6.SetActive(false); gamePanel.hideBattleBtn(); movePos = Camera.main.transform.position + new Vector3(45, 0, 0); moveCamera = true; yield return(new WaitForSeconds(5f)); movePos = Camera.main.transform.position - new Vector3(45, 0, 0); yield return(new WaitForSeconds(4f)); moveCamera = false; Camera.main.GetComponent <CameraFollow>().Active = true; gamePanel.showBattleBtn(player.gameObject); }
IEnumerator battle4() { gamePanel.hideBattleBtn(); player.Move(0); yield return(new WaitForSeconds(1)); gamePanel.showTextPanel("墨铭", "........", 'L', face1, "bottom"); }