Пример #1
0
 public void ShowTooltip(Vector2 pivot, Vector3 position, IDescibable description)
 {
     tooltipRect.pivot = pivot;
     tooltip.SetActive(true);
     tooltip.transform.position = position;
     tooltipText.text           = description.GetDescription();
 }
Пример #2
0
 public void RefreshTooltip(IDescibable description)
 {
     tooltipText.text = description.GetDescription();
 }