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