IEnumerator getTarget()
    {
        echoAR        echoObject = GameObject.Find("echoAR").GetComponent <echoAR>();
        string        APIKey     = echoObject.APIKey;
        ModelHologram holo       = (ModelHologram)entry.getHologram();
        ImageTarget   img        = (ImageTarget)holo.getTarget();
        string        url        = "https://console.echoar.xyz/query?key=" + APIKey + "&file=" + img.getStorageID();
        var           uwr        = new UnityWebRequest(url, UnityWebRequest.kHttpVerbGET);
        string        path       = Path.Combine(Application.dataPath, "StreamingAssets/VisionLib/Examples/PosterTracking/img.png");

        #if UNITY_IOS && !UNITY_EDITOR
        path = Path.Combine(Application.dataPath, "Raw/VisionLib/Examples/PosterTracking/img.png");
        #endif
        uwr.downloadHandler = new DownloadHandlerFile(path);
        yield return(uwr.SendWebRequest());

        if (uwr.isNetworkError || uwr.isHttpError)
        {
            Debug.LogError(uwr.error);
        }
        else
        {
            Debug.Log("File successfully downloaded and saved to " + path);
            GameObject go     = GameObject.Find("VLTrackingStart");
            ScriptTest script = go.GetComponent <ScriptTest>();
            script.track();
        }
    }
 public void LoadTile(Tile tile)
 {
     myEchoAR = new echoAR();
     if (tile.GetRoad())
     {
         type = "tileRoad";
     }
     else
     {
         type = "tileGrass";
     }
     myEchoAR.Start();
 }