Skip to content

Commit 02b8bbd

Browse files
authored
docs: removing internal comment from summary (#2267)
1 parent 443769e commit 02b8bbd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

com.unity.netcode.gameobjects/Runtime/Core/NetworkBehaviour.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,15 +346,14 @@ internal bool IsBehaviourEditable()
346346
m_NetworkObject.NetworkManager.IsServer;
347347
}
348348

349-
/// <summary>
350-
/// Gets the NetworkObject that owns this NetworkBehaviour instance
351349
/// TODO: this needs an overhaul. It's expensive, it's ja little naive in how it looks for networkObject in
352350
/// its parent and worst, it creates a puzzle if you are a NetworkBehaviour wanting to see if you're live or not
353351
/// (e.g. editor code). All you want to do is find out if NetworkManager is null, but to do that you
354352
/// need NetworkObject, but if you try and grab NetworkObject and NetworkManager isn't up you'll get
355353
/// the warning below. This is why IsBehaviourEditable had to be created. Matt was going to re-do
356354
/// how NetworkObject works but it was close to the release and too risky to change
357-
///
355+
/// <summary>
356+
/// Gets the NetworkObject that owns this NetworkBehaviour instance
358357
/// </summary>
359358
public NetworkObject NetworkObject
360359
{

0 commit comments

Comments
 (0)