public static void PlayTooltipAnimation(Tooltip key, bool isSelfClosing) { //Shows crosshair, and after a given delay shows tooltip singletonInstance.ShowCrosshair(key, isSelfClosing); singletonInstance.StartCoroutine(singletonInstance.ShowToolTip(key, isSelfClosing)); }
public void OnPointerEnter(PointerEventData eventData) { tooltipController.ShowToolTip(tooltipText); }