mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Removed Overrides of OnServerError / OnClientError in templates
This commit is contained in:
parent
9927c827dc
commit
ae5875203e
@ -158,13 +158,6 @@ public class #SCRIPTNAME# : NetworkManager
|
|||||||
base.OnServerDisconnect(conn);
|
base.OnServerDisconnect(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Called on the server when a network error occurs for a client connection.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="conn">Connection from client.</param>
|
|
||||||
/// <param name="errorCode">Error code.</param>
|
|
||||||
public override void OnServerError(NetworkConnection conn, int errorCode) { }
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Client System Callbacks
|
#region Client System Callbacks
|
||||||
@ -189,13 +182,6 @@ public class #SCRIPTNAME# : NetworkManager
|
|||||||
base.OnClientDisconnect(conn);
|
base.OnClientDisconnect(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Called on clients when a network error occurs.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="conn">Connection to a server.</param>
|
|
||||||
/// <param name="errorCode">Error code.</param>
|
|
||||||
public override void OnClientError(NetworkConnection conn, int errorCode) { }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Called on clients when a servers tells the client it is no longer ready.
|
/// Called on clients when a servers tells the client it is no longer ready.
|
||||||
/// <para>This is commonly used when switching scenes.</para>
|
/// <para>This is commonly used when switching scenes.</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user