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