Skip to content

Scene Events

Daniel McGuinness edited this page Sep 30, 2018 · 1 revision

There are some events that you can register to in order to know the flow of the scene loading events. Below are a list of the available events to hook into for scene loading and short descriptions of what they are for. Note All of these events are available through the NetworkManager.Instance so for example playerLoadedScene would be NetworkManager.Instance.playerLoadedScene.

playerLoadedScene

This is used on the server to know when a specific player has finished loading into a level.

networkSceneChanging

This is used on the client to know if it has been told by the server to change the scene. This happens just before the scene change is invoked.

networkSceneLoaded

This is used on the client and the server to know when the scene has been successfully loaded and is ready to begin with networking code (starting with spawning Network Objects).

Home

Getting Started
Network Contract Wizard (NCW)
Network Object
Remote Procedure Calls (RPCs)
Unity Integration
Basic Network Samples
Scene Navigation
NetWorker
Master Server
Web Server
Netcoding Design Patterns
Troubleshooting
Miscellaneous
Clone this wiki locally
You can’t perform that action at this time.