HardMuteTargetUser
Namespace: SynicSugar.RTC
public void HardMuteTargetUser(UserId target, bool isMuted)
Description
Host mutes target user('s input) on all locals. The target can't speak but can hear other members of the lobby.
using SynicSugar.P2P;
using SynicSugar.RTC;
using UnityEngine;
public class VCSample : MonoBehaviour {
public void BanTarget(UserId target){
RTCManager.Instance.HardMuteTargetUser(target, true);
}
}