示例#1
0
        public virtual void LateUpdate()
        {
            if (_MarkerProvider != null)
            {
                _CachedMarkerData = _MarkerProvider.GetMarkerData();
            }
            else
            {
                Hide();
            }

            UpdateMarker(_CachedMarkerData);
        }
示例#2
0
 public virtual void UpdateMarker(MarkerData data)
 {
     RectTransform.position = TransformPosition(data.WorldPosition);
 }