示例#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);
 }