diff --git a/Mirror/Runtime/NetworkManager.cs b/Mirror/Runtime/NetworkManager.cs index 1af9aee7e..d7a5d2749 100644 --- a/Mirror/Runtime/NetworkManager.cs +++ b/Mirror/Runtime/NetworkManager.cs @@ -753,28 +753,11 @@ public virtual void OnClientSceneChanged(NetworkConnection conn) // their functionality, users would need override all the versions. Instead these callbacks are invoked // from all versions, so users only need to implement this one case. - public virtual void OnStartHost() - { - } - - public virtual void OnStartServer() - { - } - - public virtual void OnStartClient(NetworkClient client) - { - } - - public virtual void OnStopServer() - { - } - - public virtual void OnStopClient() - { - } - - public virtual void OnStopHost() - { - } + public virtual void OnStartHost() {} + public virtual void OnStartServer() {} + public virtual void OnStartClient(NetworkClient client) {} + public virtual void OnStopServer() {} + public virtual void OnStopClient() {} + public virtual void OnStopHost() {} } }