Пример #1
0
    private bool ChannelExists(string channelName)
    {
        var channels = _mumbleClient.GetAllChannels();

        foreach (var item in channels)
        {
            Debug.LogError(item.Value.Name);
        }

        foreach (var item in channels)
        {
            if (item.Value.Name == channelName)
            {
                return(true);
            }
        }
        return(false);
    }