Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

namespace Unity.Netcode.Editor
{
/// <summary>
/// The <see cref="CustomEditor"/> for <see cref="NetworkBehaviour"/>
/// </summary>
[CustomEditor(typeof(NetworkBehaviour), true)]
[CanEditMultipleObjects]
public class NetworkBehaviourEditor : UnityEditor.Editor
Expand Down
15 changes: 8 additions & 7 deletions com.unity.netcode.gameobjects/Runtime/Core/NetworkManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ public NetworkPrefabHandler PrefabHandler
private bool m_ShuttingDown;
private bool m_StopProcessingMessages;

// <summary>
// When disconnected from the server, the server may send a reason. If a reason was sent, this property will
// tell client code what the reason was. It should be queried after the OnClientDisconnectCallback is called
// </summary>
/// <summary>
/// When disconnected from the server, the server may send a reason. If a reason was sent, this property will
/// tell client code what the reason was. It should be queried after the OnClientDisconnectCallback is called
/// </summary>
public string DisconnectReason { get; internal set; }

private class NetworkManagerHooks : INetworkHooks
Expand Down Expand Up @@ -450,9 +450,10 @@ public class ConnectionApprovalResponse
/// </summary>
public bool Pending;

// <summary>
// Optional reason. If Approved is false, this reason will be sent to the client so they know why they
// were not approved.
/// <summary>
/// Optional reason. If Approved is false, this reason will be sent to the client so they know why they
/// were not approved.
/// </summary>
public string Reason;
}

Expand Down