public void ShowTooltip(Vector2 pivot, Vector3 position, IDescibable description) { tooltipRect.pivot = pivot; tooltip.SetActive(true); tooltip.transform.position = position; tooltipText.text = description.GetDescription(); }
public void RefreshTooltip(IDescibable description) { tooltipText.text = description.GetDescription(); }