public override void SetCamera(Cameras camTex)
    {
        #if PLATFORM_ANDROID
        if (!Permission.HasUserAuthorizedPermission(Permission.Camera))
        {
            Permission.RequestUserPermission(Permission.Camera);
        }
        #endif

        if (activeCameraTexture != null)
        {
            activeCameraTexture.Stop();
        }

        WebCamTexture textureToUse;
        if (camTex.Equals(Cameras.Back))
        {
            textureToUse = backCameraTexture;
        }
        else if (camTex.Equals(Cameras.Front))
        {
            textureToUse = frontCameraTexture;
        }
        else
        {
            textureToUse = frontCameraTexture;
        }

        activeCameraTexture = textureToUse;
        activeCameraDevice  = WebCamTexture.devices.FirstOrDefault(device =>
                                                                   device.name == textureToUse.deviceName);

        displayImage.texture = activeCameraTexture;
        displayImage.material.mainTexture = activeCameraTexture;

        activeCameraTexture.Play();
    }