private void OnMouseEnter() { if (uiManager.isStart == false) { if (playerNumber != cellGrid.CurrentPlayerNumber) { uiManager.ActiveEnemyScorePanel(); enemyScorePanel.UpgradeParameters(gameObject); enemyScorePanel.UpgadeParameters(gameObject.GetComponent <Unit>()); } } }