public void SetDialog(int turn) { currentTalker = currentDialog.talker[turn]; dialogUI.conversation.text = currentDialog.dialog[turn]; dialogUI.rightStanding.sprite = standing[currentDialog.right[turn]]; dialogUI.leftStanding.sprite = standing[currentDialog.left[turn]]; dialogUI.textUI.sprite = text[currentDialog.text[turn]]; var voice = MC.Sound.MCSoundManager.Instance.objectSound.dialogVoice; voice.PlaySound(MC.Sound.MCSoundManager.Instance.gameObject, voice.voice[currentDialog.voice[turn]]); }
public DialogueWords(TalkerInformation talkerInfo, string words, TalkerType talkerType = 0) { this.talkerInfo = talkerInfo; this.words = words; this.talkerType = talkerType; }