namespace Sandbox;
///
/// Allows listening to events related to scene loading
///
public interface ISceneLoadingEvents : ISceneEvent
{
///
/// Called before the loading starts
///
void BeforeLoad( Scene scene, SceneLoadOptions options ) { }
///
/// Called during loading. The game will wait for your task to finish
///
Task OnLoad( Scene scene, SceneLoadOptions options ) { return Task.CompletedTask; }
///
/// Loading has finished
///
void AfterLoad( Scene scene );
}