コード例 #1
0
    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;
    }
コード例 #2
0
    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;
    }