public void Switch()
    {
        if (_selectedCamera < WebCamTexture.devices.Length - 1)
        {
            _selectedCamera++;
        }
        else
        {
            _selectedCamera = 0;
        }

        _deviceCamera.SwitchCamera(_selectedCamera);
    }