/// <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); }
void OnMouseEnter() { bool hitListEmpty = false; bool relUIHit = CheckRelatedUIHit(out hitListEmpty); if (!relUIHit && !hitListEmpty) { return; } if (OnMouseEnterEvent != null) { OnMouseEnterEvent.Invoke(); } }
public void OnMouseEnter() { OnMouseEnterEvent.Invoke(); }