/// <summary> /// 设置音频静音,全局有效(重新发起时也生效) /// </summary> /// <param name="muted">true 静音,false 不静音</param> /// <returns>无返回值</returns> public static void SetAudioMute(bool muted) { #if NIMAPI_UNDER_WIN_DESKTOP_ONLY || UNITY_STANDALONE_WIN VChatNativeMethods.nim_vchat_set_audio_mute(muted); #else #endif }
/// <summary> /// 设置音频静音,全局有效(重新发起时也生效) /// </summary> /// <param name="muted"></param> public static void SetAudioMute(bool muted) { VChatNativeMethods.nim_vchat_set_audio_mute(muted); }