채널 나가기
How to remove a player from a Vivox channel and disconnect from communication.
읽는 시간 1분최근 업데이트: 19일 전
채널에서 사용자를 제거하려면
VivoxService.Instance.LeaveChannelAsync(string channelName)VivoxService.Instance.LeaveAllChannelsAsync()VivoxService.Instance.ActiveChannels
다음은 이 작업을 실행하는 방법의 예제를 보여 주는 코드입니다.
using UnityEngine;using Unity.Services.Vivox;class VivoxBasicsExample : MonoBehaviour{ . . . void LeaveChannel(string channelNameToLeave) { . . . VivoxService.Instance.LeaveChannelAsync(channelNameToLeave); . . . } . . .}