How can I create a block feature for a social app?

I'm looking to create a blocking feature on my social app. In theory, when you would block the player, they can't see or hear me and I can't see or hear them. Any ideas on how to achieve this?
Answers
-
I'm going to need some more detail and/or context but you should take a look at the Photon Voice documentation for all of the commands and scripting so you can work on this independently if need be. What IDE are you working inside of?
Photon Voice Documentation: https://doc.photonengine.com/en-us/voice/current/getting-started/voice-for-pun
1 -
Hey @Klover I'm trying to achieve a similar feature of blocking players like Horizon Worlds. When you block someone it mutes them, turns them off but it also mutes you for the player that you block so they can't hear you either. I've already got the muting and hiding working for the player I want to block, I just don't know how to mute myself for that one individual character. I hope that makes sense.
I'm using Visual Studio
0 -
Oh you just have to get that player's Photon ID from their gameObject in the scene and send an RPC to that player specifically.
https://forum.unity.com/threads/photon-send-rpc-to-specific-groups-photonview.267479/
1 -
Oh but also with this technique, how would I then make it so it mutes me for that player? I'm having a hard time understanding the logic of how the RPC would send the command to Player B to mute Player A.
0