Remove specific RPCs

Options
Is there a way to remove specific RPCs previously sent via AllBuffered or BufferedViaServer? (we would need this for a RPC we send when a weapon is changed but could improve performance when we could remove all previously sent WeaponChanged RPCs and only send the newest one).

something like RemoveRPC(photonView, "WeaponChanged");
....

thanks!

Comments

  • vadim
    Options
    Removing already sent RPCs is impossible. Buffered RPC is not the best way to synchronize constantly changing things. Try OnPhotonSerializeView, player or game properties or use non-buffered RPCs and send current object state to new clients as they join.