public virtual void LateUpdate() { if (_MarkerProvider != null) { _CachedMarkerData = _MarkerProvider.GetMarkerData(); } else { Hide(); } UpdateMarker(_CachedMarkerData); }
public virtual void UpdateMarker(MarkerData data) { RectTransform.position = TransformPosition(data.WorldPosition); }