public void Initialize(GeoObject geoObject, AudioClip clip, float offset) { this.geoObject = geoObject; source.clip = clip; source.Pause(); offsetPoint.transform.localPosition += Vector3.up * offset * 100; }
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; }
public void Initialize(GeoObject geoObject, string url) { this.geoObject = geoObject; }