Add comments

This commit is contained in:
vis2k 2020-09-27 18:51:23 +02:00
parent b82f4a1f34
commit 9077cc7fd7

View File

@ -39,6 +39,7 @@ public abstract class Transport : MonoBehaviour
/// <summary>
/// Notify subscribers when this client receive data from the server
/// </summary>
// Note: we provide channelId for NetworkDiagnostics.
[HideInInspector] public ClientDataReceivedEvent OnClientDataReceived = new ClientDataReceivedEvent();
/// <summary>
@ -109,6 +110,7 @@ public virtual void ClientConnect(Uri uri)
/// <summary>
/// Notify subscribers when this server receives data from the client
/// </summary>
// Note: we provide channelId for NetworkDiagnostics.
[HideInInspector] public ServerDataReceivedEvent OnServerDataReceived = new ServerDataReceivedEvent();
/// <summary>