Skip to content

SceneManager.RaiseSceneLoadFailedIfPending() Method

Definition

Namespace: Brine2D.Engine

Fires Brine2D.Engine.SceneManager.SceneLoadFailed if a failure was recorded by the last load attempt. Called by GameLoop immediately after BeginFrame() so that any handler calling LoadScene<TScene>() will defer correctly and be tracked as the next pending transition. If no handler queues a recovery transition, the registered fallback scene is loaded automatically.

C#
public void RaiseSceneLoadFailedIfPending();