// Start is called before the first frame update private void Start() { Application.targetFrameRate = 300; Camera = new NativeCameraComponent(id, width, height, fps); Camera.StartPreview(); Debug.Log(Camera.ToString()); }
// Start is called before the first frame update void Start() { Application.targetFrameRate = 300; CameraR = new NativeCameraComponent(idR, width, height, fps); CameraR.StartPreview(); CameraL = new NativeCameraComponent(idL, width, height, fps); CameraL.StartPreview(); Debug.Log(CameraR.ToString()); Debug.Log(CameraL.ToString()); }