示例#1
0
        public void Initialize(GeoObject geoObject, AudioClip clip, float offset)
        {
            this.geoObject = geoObject;
            source.clip    = clip;
            source.Pause();

            offsetPoint.transform.localPosition += Vector3.up * offset * 100;
        }
示例#2
0
        public void Initialize(GeoObject geoObject, double distanceMeters, float offset)
        {
            this.geoObject = geoObject;

            title.text    = geoObject.GeoData.title;
            distance.text = Convert.ToUInt32(distanceMeters).ToString() + " meters";

            offsetPoint.transform.localPosition += Vector3.up * offset * 100;
        }
示例#3
0
 public void Initialize(GeoObject geoObject, string url)
 {
     this.geoObject = geoObject;
 }