/// <summary>
 /// 销毁动画,然后清空树
 /// </summary>
 public void ClearPad()
 {
     if (RootAnimateTree == null)
     {
         return;
     }
     if (CurrentAyAnimate != null)
     {
         if (CurrentAyAnimate is IAyAnimateLifecycle animate)
         {
             animate.Destroy();
         }
         RootAnimateTree = null;
         AyCommon.MemoryGC();
     }
 }
示例#2
0
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(AyCommon.GetChatDateString(value.ToDateTime()));
 }