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

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