Skip to content

Commit e1a8f1d

Browse files
author
Larah Armstrong
authored
Remove internal comment (#830)
1 parent 348f364 commit e1a8f1d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

docs/api/Unity.Netcode.NetworkBehaviour.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -304,17 +304,7 @@ public NetworkManager NetworkManager { get; }
304304
#### NetworkObject
305305

306306

307-
Gets the NetworkObject that owns this NetworkBehaviour instance TODO:
308-
this needs an overhaul. It's expensive, it's ja little naive in how it
309-
looks for networkObject in its parent and worst, it creates a puzzle if
310-
you are a NetworkBehaviour wanting to see if you're live or not (e.g.
311-
editor code). All you want to do is find out if NetworkManager is null,
312-
but to do that you need NetworkObject, but if you try and grab
313-
NetworkObject and NetworkManager isn't up you'll get the warning below.
314-
This is why IsBehaviourEditable had to be created. Matt was going to
315-
re-do how NetworkObject works but it was close to the release and too
316-
risky to change
317-
307+
Gets the NetworkObject that owns this NetworkBehaviour instance.
318308

319309

320310

0 commit comments

Comments
 (0)