Exemplo n.º 1
0
        public CrossPlatformCameraPermissionProvider()
        {
#if UNITY_EDITOR
            m_InnerCameraPermissionProvider = new TestCameraPermissionProvider();
#elif UNITY_IOS || UNITY_ANDROID
            m_InnerCameraPermissionProvider = new MobileCameraPermissionProvider();
#else
            m_InnerCameraPermissionProvider = new UnsupportedCameraPermissionProvider();
#endif
        }
 public DeviceARRequirementsAccess()
 {
     ARSupportProvider        = new CrossPlatformARSupportProvider();
     CameraPermissionProvider = new CrossPlatformCameraPermissionProvider();
 }