From db9244a977f30fbb8590f8c049ec380a8fa29a5b Mon Sep 17 00:00:00 2001 From: vis2k Date: Sun, 30 Dec 2018 23:50:14 +0100 Subject: [PATCH] Syntax --- Mirror/Runtime/NetworkManager.cs | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) 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() {} } }