GameApplicationBuilder.UseFallbackScene() Method
Replaces the built-in DefaultFallbackScene with a custom scene shown when a scene load fails and SceneLoadFailed has no handler that queues a recovery transition. The fallback scene can inject ISceneLoadErrorInfo to display the failure details.
public Brine2D.Hosting.GameApplicationBuilder UseFallbackScene<T>()
where T : Brine2D.Engine.Scene;
Type parameters¶
T
Returns¶
Example¶
builder.UseFallbackScene<MyErrorScene>();