Field s_GlobalNetworkObjects
Registered list of all NetworkObjects spawned.
Format is as follows:
[ClientId-side where this NetworkObject instance resides][NetworkObjectId][NetworkObject]
Where finding the NetworkObject with a NetworkObjectId of 10 on ClientId of 2 would be:
s_GlobalNetworkObjects[2][10]
To find the client or server player objects please see:
m_Player
Namespace: Unity.Netcode.TestHelpers .Runtime
Assembly: solution.dll
Syntax
protected static Dictionary<ulong, Dictionary<ulong, NetworkObject>> s_GlobalNetworkObjects
Returns
Type | Description |
---|---|
Dictionary<ulong, Dictionary<ulong, Network |