mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
breaking: Make clientLoadedScene protected (#3098)
- users shouldn't be messing with this - it does need to be available in an override of OnClientConnect
This commit is contained in:
parent
8394190b11
commit
9e45ce869b
@ -112,8 +112,7 @@ public class NetworkManager : MonoBehaviour
|
||||
/// <summary>True if the client loaded a new scene when connecting to the server.</summary>
|
||||
// This is set before OnClientConnect is called, so it can be checked
|
||||
// there to perform different logic if a scene load occurred.
|
||||
[NonSerialized]
|
||||
public bool clientLoadedScene;
|
||||
protected bool clientLoadedScene;
|
||||
|
||||
// helper enum to know if we started the networkmanager as server/client/host.
|
||||
// -> this is necessary because when StartHost changes server scene to
|
||||
|
Loading…
Reference in New Issue
Block a user