示例#1
0
 /// <summary>
 /// 注册视图切换动画控制器
 /// </summary>
 /// <typeparam name="T"></typeparam>
 public void RegistSwitchAnimator(ASingularViewSwitchAnimator animator)
 {
     if (null == animator)
     {
         _switchAnimatorType = null;
     }
     else
     {
         _switchAnimatorType = animator.GetType();
     }
 }
示例#2
0
 void OnSwitchComplete(ASingularViewSwitchAnimator animator)
 {
     animator.Old.Destroy();
     animator = null;
 }