Class SceneEvent
Used for local notifications of various scene events. The OnSceneEvent of
delegate type NetworkSceneManager.SceneEventDelegate uses this class to provide
scene event status.
Note: This is only when EnableSceneManagement is enabled.
*** Do not start new scene events within scene event notification callbacks.
See also:
SceneEventType
Inherited Members
Namespace: Unity.Netcode
Assembly: solution.dll
Syntax
public class SceneEvent
Fields
Name | Description |
---|---|
AsyncOperation | The AsyncOperation returned by SceneManager |
ClientId | The client identifier can vary depending upon the following conditions:
|
ClientsThatCompleted | List of clients that completed a loading or unloading event. |
ClientsThatTimedOut | List of clients that timed out during a loading or unloading event. |
LoadSceneMode | If applicable, this reflects the type of scene loading or unloading that is occurring. |
Scene | When a scene is loaded, the Scene structure is returned. |
SceneEventType | Will always be set to the current SceneEventType |
SceneName | This will be set to the scene name that the event pertains to. |