[Command]
, [ClientRpc]
, [TargetRpc]
or [TargetEvent]
, this will display the name of the method, otherwise it will display the name of the message class.[Command]
in the same frame, consider consolidating them into a single [Command]
call if it makes sense[ClientRpc]
calls that synchronize data, consider using [SyncVar]
and synclists instead. They can reduce the amount of messages because they only send deltas when they change, plus they get batched together, so hundreds of variables can be synchronized with a single message.