You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This component handles preloading scenes for both the client(s) and server. The `NetworkManagerBootstrapper` is an extended `NetworkManager` that requires the `SceneBootstrapLoader` component which upon being started will invoke `SceneBootstrapLoader.LoadMainMenu`.
25
27
-**Default Active Scene Asset:** There is always an active scene. For this example, the default active scene is the same on both the client and server relative properties.
26
28
- This could represent a lobby or network session main menu (i.e. create or join session).
@@ -44,10 +46,12 @@ The `NetworkManagerBootstrapper` uses the `SceneBootstrapLoader` component to st
Handles the pre-network session menu interface along with connect and disconnect events. Since it is derived from `NetworkManager`, it also defines the network session configuration (i.e. `NetworkConfig`).
This prefab handler determines at runtime where the local `NetworkManager` instance is a client/host or server and will spawn either the ClientPlayer or ServerPlayer prefab. The `NetworkPrefabOverrideHandler` does not need to be a `NetworkBehaviour` and sometimes (especially for overriding the player prefab) it is better to handle prefab handlers prior to starting the `NetworkManager`.
0 commit comments