Example #1
0
 protected virtual void OnMouseEnter()
 {
     if (CellHighlighted != null)
     {
         CellHighlighted?.Invoke(this, new EventArgs());
     }
 }
Example #2
0
 public virtual void OnMouseEnter()
 {
     if (PauseMenu.GameIsPaused == false && CellHighlighted != null)
     {
         CellHighlighted.Invoke(this, new EventArgs());
     }
 }
Example #3
0
    protected virtual void OnMouseEnter()
    {
        if (EventSystem.current.IsPointerOverGameObject())
        {
            return;
        }

        if (CellHighlighted != null)
        {
            CellHighlighted.Invoke(this, new EventArgs());
        }
    }
Example #4
0
 protected virtual void OnMouseEnter()
 {
     CellHighlighted?.Invoke(this);
 }