/// <summary> /// Cancels highlight of a square in the team grid. /// </summary> /// <param name="square">square to stop highlighting</param> protected void CancelHighlightSquare(FridgeGridSquare square) { if (!isDragging) { square.CancelHighlight(); HideTooltip(); } }
/// <summary> /// Highlights a square in the team grid. /// </summary> /// <param name="square">square to highlight</param> protected void HighlightSquare(FridgeGridSquare square) { if (!isDragging) { square.Highlight(new Color(1, 1, 0.8f)); if (square.KernelFruiton != null) { ShowTooltip(square.KernelFruiton, 1); } } }