public static void RemoveRPCs(PhotonPlayer targetPlayer) { if (!VerifyCanUseNetwork()) { return; } if (!targetPlayer.IsLocal && !IsMasterClient) { Debug.LogError("Error; Only the MasterClient can call RemoveRPCs for other players."); return; } networkingPeer.OpCleanRpcBuffer(targetPlayer.ID); }
public static void RemoveRPCs(PhotonPlayer targetPlayer) { if (VerifyCanUseNetwork()) { if (!targetPlayer.isLocal && !isMasterClient) { Debug.LogError("Error; Only the MasterClient can call RemoveRPCs for other players."); } else { networkingPeer.OpCleanRpcBuffer(targetPlayer.Id); } } }