예제 #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);
 }