예제 #1
0
    // Token: 0x06006152 RID: 24914 RVA: 0x00224EB4 File Offset: 0x002232B4
    private void RefreshLabel()
    {
        bool   flag = string.IsNullOrEmpty(VRCInputManager.micDeviceName);
        string friendlyInputDeviceName = USpeaker.GetFriendlyInputDeviceName();
        string text = string.Empty;

        if (flag || string.IsNullOrEmpty(friendlyInputDeviceName))
        {
            text = "Default - " + ((!string.IsNullOrEmpty(friendlyInputDeviceName)) ? friendlyInputDeviceName : "None");
        }
        else
        {
            text = friendlyInputDeviceName;
        }
        this.labelMic.text = text;
    }