/// <summary> /// <para></para> /// </summary> /// <param name="eventData">Current event data.</param> public void OnPointerExit(PointerEventData eventData) { if (this.ItemObjectInSlot == null) { return; } GenericTooltip.Deactivate(); this._backImage.color = this._prevBackColor; }
/// <summary> /// <para></para> /// </summary> /// <param name="eventData">Current event data.</param> public void OnPointerEnter(PointerEventData eventData) { if (this.ItemObjectInSlot == null) { return; } GenericTooltip.ShowTooltip(this.ItemObjectInSlot.Item, null, this.transform.position); this._prevBackColor = this._backImage.color; this._backImage.color = Color.white; }
public void OnPointerEnter(PointerEventData eventData) { GenericTooltip.ShowTooltip(this.Item, null, this.transform.position); }
public void OnPointerExit(PointerEventData eventData) { GenericTooltip.Deactivate(); }
public void OnPointerEnter(PointerEventData eventData) { GenericTooltip.ShowTooltip(this, Localization.GetStringByKey(this.HeaderKey), this.transform.position); }