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.