예제 #1
0
파일: ShopSlot.cs 프로젝트: despin89/repo
        /// <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;
        }
예제 #2
0
파일: ShopSlot.cs 프로젝트: despin89/repo
        /// <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;
        }
예제 #3
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     GenericTooltip.ShowTooltip(this.Item, null, this.transform.position);
 }
예제 #4
0
 public void OnPointerExit(PointerEventData eventData)
 {
     GenericTooltip.Deactivate();
 }
예제 #5
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     GenericTooltip.ShowTooltip(this, Localization.GetStringByKey(this.HeaderKey), this.transform.position);
 }