// Update is called once per frame void Update() { //すべて表示したら if (m_textControl.IsCompleteDisplayText) { //まだ次の行があったら if (m_currentLine < m_scenarios.Length) { //次の行を読む if (!m_isCallPreload) { m_isCallPreload = true; } if (Input.GetMouseButtonDown(0)) { RequestNextLine(); } } else { //終わり m_textControl.isScenario = false; FinishScenario(); } } else { //すべて表示していなかったら if (Input.GetMouseButtonDown(0)) { m_textControl.ForceCompleteDisplaytext(); } } }