public GPSBeaconManager() { //build beacon index GameObject objNw = GameObject.Find("GPSBeaconNW"); GameObject objSe = GameObject.Find("GPSBeaconSE"); beaconNw = objNw.GetComponent<GPSBeaconComponent>(); beaconSe = objSe.GetComponent<GPSBeaconComponent>(); beaconNwPos = objNw.transform.position; beaconSePos = objSe.transform.position; }
public GPSBeaconManager() { //build beacon index GameObject objNw = GameObject.Find("GPSBeaconNW"); GameObject objSe = GameObject.Find("GPSBeaconSE"); beaconNw = objNw.GetComponent <GPSBeaconComponent>(); beaconSe = objSe.GetComponent <GPSBeaconComponent>(); beaconNwPos = objNw.transform.position; beaconSePos = objSe.transform.position; }