Manages transitions between content loading states, coordinating fade effects and world state changes across both client and server worlds (for offline/client-hosted scenarios).
More...
|
| | ContentLoadingTransitionLogic (IFadeService fadeService, ILocalPlayerInfoService localPlayerInfo, IContentLoadingWorldAccess worldAccess, IReadOnlyList< GameObject > transitionObjects, Camera mainCamera, Color transitionBackgroundColor, ContentLoadingTransitionTimingParams timingParams) |
| | Initializes a new transition manager to handle content loading state changes.
|
| |
|
void | Initialize () |
| | Initializes the visuals of the transition environment.
|
| |
|
void | Update (float deltaTime) |
| | Updates the transition state based on world state and fade effects. Should be called every frame while content loading is in progress.
|
| |
Manages transitions between content loading states, coordinating fade effects and world state changes across both client and server worlds (for offline/client-hosted scenarios).
◆ ContentLoadingTransitionLogic()
Initializes a new transition manager to handle content loading state changes.
- Parameters
-
| fadeService | Service to handle screen fade effects. |
| localPlayerInfo | Info to indicate if player is intending to load a content scene. |
| worldAccess | Access to check and modify content loading state in relevant worlds. |
| transitionObjects | Objects to hide when transitioning to loaded content. |
| mainCamera | The main camera to temporarily set clear flags for. |
| transitionBackgroundColor | The background color to temporarily use for the main camera. |
| timingParams | Settings for fade timings. |
The documentation for this class was generated from the following file:
- Runtime/Transitions/Managed/ContentLoadingTransitionLogic.cs