- Home /
How to change to front camera from back camera
I have made myself a mini webcam application and the camera that the android is using currently is the back camera. How can I actually change it to the front camera where the screen is facing?
Comment
Answer by ejpaari · Nov 13, 2013 at 08:49 AM
It depends which device you are using. The default device is usually the back camera. Just change the first parameter of the constructor (http://docs.unity3d.com/Documentation/ScriptReference/WebCamTexture-ctor.html). You can list the available devices like this: http://docs.unity3d.com/Documentation/ScriptReference/WebCamTexture-devices.html