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

Bandwidth - ClientRpc, Command, SyncVar

$
0
0
Hey guys!
I would like to know the bandwidth for each call/sync of :

ClientRpc - with and without variables
Command - with and without variables
SyncVar - for each variable

I'd guess the bandwidth for each variable should be its size (int = 32 bits, Vector3 = 3x32 bits etc.).
Should I be optimizing each int/float to a smaller value (short/byte/sbyte) if possible?
I read somewhere, can't find the link, that the int size was scaling from 8-32 bits depending on the value, is that correct?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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