Img

Start Guide

Gameplay Results Window Sample

public class Window_Results : UIWindow
{
    [Bindable]      Single      Seconds             => (Single)OpenParams!;
    [Bindable]      String      FormattedSeconds    => Seconds >= 60 ? TimeSpan.FromSeconds( Seconds ).ToString( @"mm\:ss\.ff" ) : TimeSpan.FromSeconds( Seconds ).ToString( @"ss\.ff" );

    protected override  Boolean TryGoBack   ( )     => false;

    [Callable]          void    OpenDetails ( )     => Graph.Service.Open<Window_PlayDetails>();
    [Callable]          void    Continue    ( )     => Close();

    public new record struct Opener( OpenCtx Ctx ) : IOpener
    {
        public  FlowNode    Open    ( Single seconds ) => Ctx.Open( seconds );
    }
    
    [StateTest]     Object  Score_98    ( ) => 98.1f;
    [StateTest]     Object  Score_23    ( ) => 23.5f;
    [StateTest]     Object  Score_052   ( ) => 0.52f; 
}

img img

img

With disabled Domain reload you will open your window with your TestCase almost instantly (on mid size project)
And all GameStages with services will be already initialized so even your window Awake call will be in correct Context
see Flexy.Core and Flexy.GameFlow for more info on GameStages and GameContexts