1

it seems more tricky now with new camera2 api. In the old way, you can do setFlashMode()/startPreview() and it works. But now it's using CameraManager in the android side, which is more complicated. I can toggle flashlight when no camera is used, but not when unity is using webcamtexture. Is there easy way (using AndroidJavaClass etc) to do that? If not, is there any way to do that without me writing my own WebCamTexture?

Sunny Chow
  • 432
  • 3
  • 13

0 Answers0