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?
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?