// Use this for initialization void Start() { heading = 0; txt.text = "starting"; StartCoroutine(InitializeLocation()); Debug.Log("<color=red>Estimote</color>"); //Instantiate(awe_estimote); awe_estimote.beginScanAtStart = true; awe_estimote.Setup(); //awe_estimote.StartScan(); }
// Use this for initialization void Start() { //As beacons only update once every 1 second by default, there's no need to update app too fast anyway Application.targetFrameRate = 20; //Make UI more of an app than game and show navigation buttons Screen.fullScreen = false; //Setup the AWE Estimote Asset awe_estimote.Setup(); //Change text on the scan button as we begin scanning immediately if (awe_estimote.beginScanAtStart) { scanButtonText.text = "STOP SCANNING"; } }