Beispiel #1
0
    /// <summary>
    /// /// Dispatches on mouse over event
    /// If the select or deselect buttons are pressed
    /// then it sends their respective events
    /// </summary>
    private void OnMouseEnter()
    {
        if (IsRetracted)
        {
            return;
        }

        OnMouseEnterEvent?.Invoke(this);
    }
Beispiel #2
0
        void OnMouseEnter()
        {
            bool hitListEmpty = false;

            bool relUIHit = CheckRelatedUIHit(out hitListEmpty);

            if (!relUIHit && !hitListEmpty)
            {
                return;
            }

            if (OnMouseEnterEvent != null)
            {
                OnMouseEnterEvent.Invoke();
            }
        }
Beispiel #3
0
 public void OnMouseEnter()
 {
     OnMouseEnterEvent.Invoke();
 }