osu.Framework/Screens/ScreenStack.cs
/// <summary>
/// Complete push of a loaded screen.
/// </summary>
/// <param name="from">The screen to push to.</param>
/// <param name="to">The new screen being pushed.</param>
Complete push of a loaded screen.
Complete push of a loaded screen .
private void push(IScreen from, IScreen to)
        {
            if (!suspendImmediately)
                suspend(from, to);
            if (!to.ValidForPush)
            {
                exitFrom(null, shouldFireEvent: false);
                return;
            }
            AddInternal(to.AsDrawable());
            to.OnEntering(from);
        }
private void push ( IScreen from , IScreen to ) { if ( ! suspendImmediately ) suspend ( from , to ) ; if ( ! to . ValidForPush ) { exitFrom ( null , shouldFireEvent : false ) ; return ; } AddInternal ( to . AsDrawable ( ) ) ; to . OnEntering ( from ) ; }
Complete push of a loaded screen.
Complete push of a loaded screen .
from
IScreen
The screen to push to.
The screen to push to .
to
IScreen
The new screen being pushed.
The new screen being pushed .