AsyncLoadingState
Introduction
Using AsyncLoadingState
void OnPlayClick(IWindow window)
{
if(this.AsyncLoadingState == FlatRedBall.Screens.AsyncLoadingState.NotStarted)
{
this.StartAsyncLoad(typeof(PlayScreen).FullName);
}
}
void OnOptionsClick(IWindow window)
{
if(this.AsyncLoadingState == FlatRedBall.Screens.AsyncLoadingState.NotStarted)
{
this.StartAsyncLoad(typeof(OptionsScreen).FullName);
}
}Last updated
Was this helpful?