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