- Home /
Question by
SunnyChow · Apr 11, 2017 at 04:27 AM ·
androidpluginwebcamtexturetorch
How to turn on flashlight when WebCamTexture is on? (Android camera2 api)
In the old version of Android is easy. I just call setFlashMode()/startPreview. I can even call the functions in unity C# side. But now it's much more complicated. I can't even imagine a way to do it in java side and not rewrite my own WebCamTexture. Is there any way to do it with only C#? if not, is there good plugin recommanded for me? By the way, i need to do it with Opencv4Unity. So the case is much more difficult
Comment
Your answer
Follow this Question
Related Questions
Pass camera stream from unity and android plugin 1 Answer
Webcam Texture and Flashlite (Android) 3 Answers
Which Android In app Purchase plugin should I choose? 0 Answers
Is there any plugin available for wechat android? 2 Answers
Google Play Game Services Plugin "Failed to re-package resources" 2 Answers