private void StartCamera() { _controllerUI.Loading(true); _deviceCamera.Enable(((bool success, string message) => { _controllerUI.Loading(false); if (success) { _controllerUI.ShowTakePicture(); } else { _controllerUI.ShowError(message); } }), _selectedCamera); if (WebCamTexture.devices.Length > 1) { _controllerUI.ShowSwitchButton(true); } }