Example #1
0
        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);
        }
Example #2
0
            public Talk(GameObject speaker, TalkMasterRow talkRow)
            {
                this.speaker = speaker;

                Choises     = talkRow._Choises;
                BattleGroup = talkRow._Battle;

                messages = talkRow._Message;

                progress = 0;

                OnStart();
                OnTalking();
            }