protected void ClickButtonAction() { bool mutestatus = MicDeviceUtils.GetMuteStatus(); MicDeviceUtils.SetMicMute(!mutestatus); UpdateMutebtnText(); }
public void UpdateMutebtnText() { bool mutestatus = MicDeviceUtils.GetMuteStatus(); if (mutestatus) { mutebtnText.text = "Unmute"; } else { mutebtnText.text = "Mute"; } }