File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -304,17 +304,7 @@ public NetworkManager NetworkManager { get; }
304
304
#### NetworkObject
305
305
306
306
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.
318
308
319
309
320
310
You can’t perform that action at this time.
0 commit comments