Пример #1
0
 public void OnPointerExit(PointerEventData eventData)
 {
     if (item != null)
     {
         //itemTitle.HideText(true);
         TooltipSystem.Hide();
     }
 }
 private void Hide()
 {
     if (_delay != null)
     {
         StopCoroutine(_delay);
         TooltipSystem.Hide();
     }
 }
Пример #3
0
 public void OnPointerExit(PointerEventData eventData)
 {
     TooltipSystem.Hide(needChange);
     if (needChange)
     {
         needChange = false;
     }
 }
Пример #4
0
 public void HideTurretOptions()
 {
     if (TooltipSystem.GetCurrentTooltip() != null && TooltipSystem.GetCurrentTooltip().GetType() == typeof(TurretTooltip))
     {
         TooltipSystem.Hide();
     }
     if (this.gameObject.activeSelf)
     {
         LeanTween.scaleY(this.gameObject, 0, 0.2f).setEaseOutExpo().setOnComplete(() => this.gameObject.SetActive(false));
     }
 }
 public void OnPointerExit(PointerEventData eventData)
 {
     TooltipSystem.Hide();
 }
Пример #6
0
 public void OnPointerExit(PointerEventData eventData)
 {
     LeanTween.cancel(delay.uniqueId);
     TooltipSystem.Hide();
 }
Пример #7
0
	public void HideTooltip()
	{
		LeanTween.cancel(delay.uniqueId);
		TooltipSystem.Hide();
	}
Пример #8
0
 //private static LTDescr delay;
 public void hide()
 {
     TooltipSystem.Hide(needChange);
 }
Пример #9
0
 void Start()
 {
     needChange = false;
     TooltipSystem.Hide(needChange);
 }