The Framework
  • Introduction
    • What is The Framework
    • Core Objectives
    • Key Features
    • Architecture Overview
    • Benefits
    • Conclusion
  • Getting Started
    • Installation
  • Quick Setup
    • Unity Setup
    • Creating a Scene
    • Creating a Bootstrap
    • Creating a Canvas
  • API Reference
    • Scene Management
      • ICanvas
      • INavigationService
      • IDataService
      • IBootstrap
      • IAsyncScene
Powered by GitBook
On this page
  • Fields
  • Methods
  • Properties
  1. API Reference
  2. Scene Management

IAsyncScene

Fields

  • loader

    • Description: Loader that will be used.


Methods

  • SetSceneLoader(ISceneLoader sceneLoader)

    • Description: Updates the ISceneLoader used internally.

    • Parameters:

      • sceneLoader: The new scene loader.

  • SceneWillUnloadAsync

    • Description: Called before the scene will be unloaded.

    • Returns: A task representing the asynchronous unload operation.

  • LoadAsync(bool setActive)

    • Description: Loads the scene asynchronously and optionally sets it as the active scene.

    • Parameters:

      • setActive: If true, sets the loaded scene as active.

    • Returns: A task representing the asynchronous load operation. The result contains the bootstrap instance for the loaded scene.

  • UnloadAsync

    • Description: Unloads the scene asynchronously.

    • Returns: A task representing the asynchronous unload operation.


Properties

  • sceneType

    • Description: Gets the type identifier of the scene.

  • associatedScene

    • Description: Gets the associated Unity scene.

PreviousIBootstrap

Last updated 6 months ago