Beispiel #1
0
        // Start is called before the first frame update
        void Start()
        {
            annotationProccessBusy = false;
            StartCoroutine(LoadDatabase());
            DB_LoadProccessBusy = true;

            //set the external camera
            currentCam = cams[0];
            currentCam.ConnectCamera();

            httpLoader = GetComponent <HttpImageLoading>();

            //EventCamManager.onNatCamConnect += ConnectNativeCamera;
            EventCamManager.onAnnotationFailed += AnnotationFailedHandler;
            EventCamManager.onExternalCamError += ConnectNativeCamera;
        }