Struct that contains information about a scene after it has been loaded. More...
Public Member Functions | |
SceneLoadDoneArgs (SceneRef sceneRef, NetworkObject[] sceneObjects, Scene scene=default, GameObject[] rootGameObjects=default) | |
Constructs a new SceneLoadDoneArgs struct. More... | |
Public Attributes | |
readonly GameObject[] | RootGameObjects |
Array of root GameObjects present in the loaded Unity scene. More... | |
readonly Scene | Scene |
The loaded Unity scene. More... | |
readonly NetworkObject[] | SceneObjects |
Array of NetworkObjects present in the loaded scene. More... | |
readonly SceneRef | SceneRef |
Reference to the loaded scene. More... | |
Struct that contains information about a scene after it has been loaded.
SceneLoadDoneArgs | ( | SceneRef | sceneRef, |
NetworkObject[] | sceneObjects, | ||
Scene | scene = default , |
||
GameObject[] | rootGameObjects = default |
||
) |
Constructs a new SceneLoadDoneArgs struct.
sceneRef | Reference to the loaded scene. |
sceneObjects | Array of NetworkObjects present in the loaded scene. |
scene | The loaded Unity scene. |
rootGameObjects | Array of root GameObjects present in the loaded Unity scene. |
readonly GameObject [] RootGameObjects |
Array of root GameObjects present in the loaded Unity scene.
readonly Scene Scene |
The loaded Unity scene.
readonly NetworkObject [] SceneObjects |
Array of NetworkObjects present in the loaded scene.