Example #1
0
 public virtual void NavigateTo(Navigateable target, NavigationArgs args = null)
 {
     HandleExit(target);
     target.HandleEnter(args ?? new NavigationArgs {
         current = this
     });
 }
Example #2
0
        public override void HandleEnter(NavigationArgs args)
        {
            if (!args.isReturning)
            {
                returnTarget = args.current;
            }

            base.HandleEnter(args);
        }
Example #3
0
 public virtual void HandleEnter(NavigationArgs args)
 {
     gameObject.SetActive(true);
 }