private void Start() { PointstopBar = GameObject.Find("PointstopBar"); MicInterface = GameObject.Find("Mic (Enabled)"); PointstopBar.SetActive(false); MicInterface.SetActive(false); }
private void SetStyling() { if (MicInterface.AllMuted()) { SetMutedStyling(); } else { SetUnMutedStyling(); } }
private void MuteToggleButton_Click(object sender, RoutedEventArgs e) { MicInterface.ToggleAllMicMute(); SetStyling(); }