/// <summary> /// 台詞表示 /// </summary> private IEnumerator ViewLines(LinesData _lines) { // 情報入力 this.characterLinesController_.title = _lines.who_; this.characterLinesController_.lines = _lines.view_; this.hiyoriParameterController_.toHappiness = _lines.happiness_; this.hiyoriParameterController_.toWorry = _lines.worry_; this.hiyoriParameterController_.toSleepiness = _lines.sleepiness_; this.hiyoriEyeController_.toLookX = _lines.eyeLookX_; this.hiyoriEyeController_.toLookY = _lines.eyeLookY_; this.hiyoriSpeakMotionController_.SetSpeak(_lines.speakMotion_); yield return(null); // 終わるまで待つ while (this.hiyoriSpeakMotionController_.isSpeaking) { yield return(null); } // 台詞があったら少し待つ if (_lines.view_ != "") { yield return(new WaitForSeconds(this.speakAfterTime_)); } }
/// <summary> /// 台詞の追加 /// </summary> /// <param name="_lines">台詞</param> public void AddLines(LinesData _lines) { this.linesList_.Add(_lines); }