Kanda Players 0.7.0
Loading...
Searching...
No Matches
ContentLoadingTransitionLogic Class Reference

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...

Public Member Functions

 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.
 

Detailed Description

Manages transitions between content loading states, coordinating fade effects and world state changes across both client and server worlds (for offline/client-hosted scenarios).

Constructor & Destructor Documentation

◆ ContentLoadingTransitionLogic()

ContentLoadingTransitionLogic ( IFadeService fadeService,
ILocalPlayerInfoService localPlayerInfo,
IContentLoadingWorldAccess worldAccess,
IReadOnlyList< GameObject > transitionObjects,
Camera mainCamera,
Color transitionBackgroundColor,
ContentLoadingTransitionTimingParams timingParams )
inline

Initializes a new transition manager to handle content loading state changes.

Parameters
fadeServiceService to handle screen fade effects.
localPlayerInfoInfo to indicate if player is intending to load a content scene.
worldAccessAccess to check and modify content loading state in relevant worlds.
transitionObjectsObjects to hide when transitioning to loaded content.
mainCameraThe main camera to temporarily set clear flags for.
transitionBackgroundColorThe background color to temporarily use for the main camera.
timingParamsSettings for fade timings.

The documentation for this class was generated from the following file: