Enum SceneEventType
The different types of scene events communicated between a server and client.
Used by NetworkSceneManager for SceneEventMessage messages.
Note: This is only when EnableSceneManagement is enabled.
See also:
SceneEvent
Namespace: Unity.Netcode
Assembly: solution.dll
Syntax
public enum SceneEventType : byte
Fields
Name | Description |
---|---|
ActiveSceneChanged | Synchronizes clients when the active scene has changed See: ActiveSceneSynchronization |
Load | Load a scene |
LoadComplete | A client has finished loading a scene |
LoadEventCompleted | All clients have finished loading a scene |
ObjectSceneChanged | Synchronizes clients when one or more NetworkObjects are migrated into a new scene See: SceneMigrationSynchronization |
ReSynchronize | Game session re-synchronization of NetworkObjects that were destroyed during a Synchronize event |
Synchronize | Synchronizes current game session state for newly approved clients |
SynchronizeComplete | A client has finished synchronizing from a Synchronize event |
Unload | Unload a scene |
UnloadComplete | A client has finished unloading a scene |
UnloadEventCompleted | All clients have unloaded a scene |