Hi albert,
I am using piece of code to switch cameras dynamically but this error happens
ARBuilder.Instance.CameraDeviceBehaviours [0].CameraDeviceType = CameraDevice.Device.Front;
`EasyAR.CameraDevice' is inaccessible due to its protection level
The code is provided in easyar unity document here:
https://www.easyar.com/doc_sdk/en/Reference/Unity/Unity-CameraDeviceBaseBehaviour.html#OpenAndStart
Thanks,
mark
Sorry, I found the answer. The document was not updated in the link specified.
I had to change from
CameraDevice.Device.Front
To
CameraDeviceBaseBehaviour.DeviceType.Front