Exemple #1
0
 private void DeleteThisMessage()
 {
     TweenUtils.KillAndNull(ref fadeTween);
     fadeTween = canvasGroup.DOFade(0, FadeDuration).OnComplete(() =>
     {
         UChatApp.Instance.CurrentChatRoom.DeleteMessageFromRoom(CurrentMessage);
         fadeTween = null;
     });
 }
Exemple #2
0
 private void AnimateAppearanceItem()
 {
     TweenUtils.KillAndNull(ref fadeTween);
     canvasGroup.alpha = 0;
     fadeTween         = canvasGroup.DOFade(1, FadeDuration).OnComplete(() => fadeTween = null);
 }