public void PressAttackButton() { if (TileBehavior.selectedUnit != null && TileBehavior.selectedUnit.GetComponent <Character>().GetCanAttack()) { TileBehavior.AttackSelection(); } }