private void ShowComma(DialogCommaType type) { foreach (var comma in commaList) { comma.Icon.SetActive(comma.Type == type); } }
private void OnPrintCompleted(DialogCommaType commaType, System.Action callback) { ShowComma(commaType); PlayEmojiAnimation(StopHash); callback?.Invoke(); textTyper.PrintCompleted.RemoveAllListeners(); textTyper.CharacterPrinted.RemoveAllListeners(); }
public GuideDialogData( DialogEmojiType emojiType, DialogCommaType commaType, string script, RectTransform target) { this.emojiType = emojiType; this.commaType = commaType; this.script = script; this.target = target; }