I have a bunch of gameObjects on the server which are linked to a users connectionID in a list. When a player sends the server a command "Please spawn my object", I need to check through all the gameObjects and spawn the object which belongs to that connection. With the legacy system I could simply check NetworkMessageInfo.sender for this. Is there an equivalent in the HLAPI?
I was going to use
GetComponent<NetworkIdentity>().connectionToClient
and...
NetworkMessageInfo.sender equivalent in HLAPI?
I was going to use
GetComponent<NetworkIdentity>().connectionToClient
and...
NetworkMessageInfo.sender equivalent in HLAPI?