User Tools

Site Tools


sceneloadingstartedasynctopic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sceneloadingstartedasynctopic [2026/04/26 06:48] divinersceneloadingstartedasynctopic [2026/04/26 07:21] (current) diviner
Line 2: Line 2:
 ===== SceneLoadingStartedAsyncTopic ===== ===== SceneLoadingStartedAsyncTopic =====
  
 +^Type | [[AsyncTopic]] |
 ^Payload | [[ValueMessage]]<string> | ^Payload | [[ValueMessage]]<string> |
 ^Broadcaster | [[ISceneLoadingService]] | ^Broadcaster | [[ISceneLoadingService]] |
  
 This topic is broadcast from the [[ISceneLoadingService]] when a scene of a [[Chunk]] begins loading. The ValueMessage<string> carries the identifier of the scene that is about to load. Since [[ISceneLoadingService]] is implemented by each individual game engine differently, the nature of the identifier is highly dependent on the implementation details of the engine. The Unity module provided for this architecture uses the scene's address as identifier, since it's dealing with Addressable scenes. Other implementors might use different identifiers. This is an Async Topic whose callbacks can be long running Tasks. The service will await for all listeners to complete executing their callbacks before resuming the operation. This topic is broadcast from the [[ISceneLoadingService]] when a scene of a [[Chunk]] begins loading. The ValueMessage<string> carries the identifier of the scene that is about to load. Since [[ISceneLoadingService]] is implemented by each individual game engine differently, the nature of the identifier is highly dependent on the implementation details of the engine. The Unity module provided for this architecture uses the scene's address as identifier, since it's dealing with Addressable scenes. Other implementors might use different identifiers. This is an Async Topic whose callbacks can be long running Tasks. The service will await for all listeners to complete executing their callbacks before resuming the operation.
sceneloadingstartedasynctopic.1777186081.txt.gz · Last modified: by diviner

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki