예제 #1
0
        /// <summary>
        /// Handler invoked on mouse cursor entering control's bounds.
        /// </summary>
        protected virtual void OnMouseEntered()
        {
            if (HoverEnter != null)
            {
                HoverEnter.Invoke(this, EventArgs.Empty);
            }

            Redraw();
        }
예제 #2
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     Debug.Log("Je survole avec la souris sur l'abilité");
     HoverEnter?.Invoke(this, new HoverEnterArgs());
 }
예제 #3
0
 public void OnMouseEnter()
 {
     HoverEnter?.Invoke(this, new EventArgs());
 }