From cca2f7a77f56bcdb626fbb35c423739400a0373d Mon Sep 17 00:00:00 2001 From: vis2k Date: Sun, 30 Dec 2018 20:25:35 +0100 Subject: [PATCH] Syntax --- Mirror/Runtime/NetworkBehaviour.cs | 34 ++++++------------------------ 1 file changed, 7 insertions(+), 27 deletions(-) diff --git a/Mirror/Runtime/NetworkBehaviour.cs b/Mirror/Runtime/NetworkBehaviour.cs index 2210b12cc..a791f0627 100644 --- a/Mirror/Runtime/NetworkBehaviour.cs +++ b/Mirror/Runtime/NetworkBehaviour.cs @@ -425,33 +425,13 @@ private void DeSerializeObjectsDelta(NetworkReader reader) } [EditorBrowsable(EditorBrowsableState.Never)] - public virtual void PreStartClient() - { - } - - public virtual void OnNetworkDestroy() - { - } - - public virtual void OnStartServer() - { - } - - public virtual void OnStartClient() - { - } - - public virtual void OnStartLocalPlayer() - { - } - - public virtual void OnStartAuthority() - { - } - - public virtual void OnStopAuthority() - { - } + public virtual void PreStartClient() {} + public virtual void OnNetworkDestroy() {} + public virtual void OnStartServer() {} + public virtual void OnStartClient() {} + public virtual void OnStartLocalPlayer() {} + public virtual void OnStartAuthority() {} + public virtual void OnStopAuthority() {} // return true when overwriting so that Mirror knows that we wanted to // rebuild observers ourselves. otherwise it uses built in rebuild.