Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Sender? (Equivalent to Networkmessageinfo.sender)

$
0
0
Hello,

currently I am converting my scripts from old Unity Networking to UNET. I have an array on server side where all player information is stored. I used to identify the player (when he was sending an RPC) with Networkmessageinfo.sender, so I can find the stored variables for that player within the array. But currently I can`t figure out how to identify the sender when performing a [Command] in UNET. What would be the way to identify the sender within UNET now? Any ideas? :)

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>