SceneLoadingStatus
The loading status of a ContentSceneFile. This is accessed by ContentSceneFile.Status.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: Unity.Loading
- Assembly: UnityEngine.ContentLoadModule
public enum SceneLoadingStatus
Fields
Value | Description |
|---|---|
| Complete | The scene has been loaded and integrated successfully. |
| Failed | A failure occured in the scene loading process. See log for details. Be sure to still call ContentSceneFile.UnloadAtEndOfFrame to release internal resources. |
| InProgress | The scene load is in progress. |
| NotLoaded | Indicates that the scene has not started loading. This is the default value for ContentSceneFile.Status before any load operation is initiated. Use this value to detect uninitialized or invalid ContentSceneFile instances, such as those not returned by ContentLoadInterface.LoadSceneAsync or after unloading. |
| WaitingForIntegrate | The asynchronous part of the scene loading is complete. You can now safely call ContentSceneFile.IntegrateAtEndOfFrame when you are ready to activate the scene. |
| WillIntegrateNextFrame | The scene will integrate at the end of the current frame. |