public void StartTalk(GameObject speaker, TalkMasterRow talkRow, Action onEndTalk) { this.onEndTalk = onEndTalk; talk = new Talk(speaker, talkRow); var balloon = MainUIManager.I.MessageBalloon; balloon.Play(talk.GetMessage(), PlayNext); }
public Talk(GameObject speaker, TalkMasterRow talkRow) { this.speaker = speaker; Choises = talkRow._Choises; BattleGroup = talkRow._Battle; messages = talkRow._Message; progress = 0; OnStart(); OnTalking(); }