예제 #1
0
        protected override IEnumerator RunQuest(QuestRunner runner)
        {
            runner.ShowMessage(msg1, avatar1);
            yield return(runner.ListenForSelfie(runner.GetTarget(targetId)));

            runner.ShowMessage(msg2, avatar2);
        }
예제 #2
0
        protected override IEnumerator RunQuest(QuestRunner runner)
        {
            var target = runner.GetTarget(targetId);

            yield return(new WaitUntil(() => target.IsInSelfie));

            runner.ShowMessage(msg1, avatar);
            yield return(new WaitForSeconds(followTime));

            yield return(runner.ListenForSelfie(target, runner.fastSelfieTime));

            runner.ShowMessage(msg2, avatar);
            yield return(new WaitForSeconds(followTime));

            yield return(runner.ListenForSelfie(target, runner.fastSelfieTime));

            runner.ShowMessage(msg3, avatar);
        }