public IEnumerator DuplexStairEvent() { // 양방향 계단 튜토리얼 characterMover.moveType = CharacterMover.MoveType.LOCK; characterMover.myAnimator.SetBool("IsWalk", false); tutorialPanel.OnTopBottom(); dialogueManager.textTalker.color = new Color(0.2f, 0.6f, 1); dialogueManager.textSentence.color = new Color(0.2f, 0.6f, 1); dialogueManager.textSentence.alignment = TextAnchor.UpperCenter; // 튜토리얼 메시지 시작 StairDialogue.TriggerDialogue(); yield return(new WaitUntil(() => dialogueManager.canvasObj.activeSelf == false)); tutorialPanel.OffTopBottom(); dialogueManager.textTalker.color = new Color(1, 1, 1); dialogueManager.textSentence.color = new Color(1, 1, 1); dialogueManager.textSentence.alignment = TextAnchor.UpperLeft; characterMover.moveType = CharacterMover.MoveType.COMMANDMOVE; yield break; }