can we use different send rate for different variables?

Options
i mean now i know we can define PhotonNetwork.sendRate.
but what if we've got some variables needed to be synced more and less frequently?
Allocate different sendrate may enhance game's efficiency,
Can we do this? If yes, how to? THX~

Comments

  • OneManArmy
    Options
    hmmm... and how do you plan to sync your variables?
  • Notae17
    Options
    use OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)? :)
  • OneManArmy
    Options
    For that you have PhotonNetwork.sendRateOnSerialize.
    You can send RPC's with different rates.
  • Notae17
    Options
    :D THX