Exemplo n.º 1
0
 public override void TransitionOut(ViewTransitionComplete onOutComplete)
 {
     //In this case the onOutComplete callback is stored until the animation completes and is then called ANIM_OnTransitionOutComplete
     this.onOutComplete = onOutComplete;
     anim.SetTrigger("TransitionOut");
 }
Exemplo n.º 2
0
 public override void TransitionOut(ViewTransitionComplete onOutComplete)
 {
     //Use a basic tween to transition the dialog
     dialogBody.DOLocalMove(outPos, transitionLength).OnComplete(() => { onOutComplete(); });
 }