public void UseAttack(Unit targetUnit) { if (targetUnit != null) { //if (SelectedUnit.CanAttackTarget(targetUnit)) //{ SelectedUnit.TriggerAttack(targetUnit); RefreshEffectManager(); GameManager.instance.uiManager.RefreshUI(); //} } }
public void UseAttack(Unit targetUnit) { if (targetUnit != null) { //if (SelectedUnit.CanAttackTarget(targetUnit)) //{ SelectedUnit.TriggerAttack(targetUnit); RefreshEffectManager(); GameManager.instance.uiManager.RefreshUI(); //} } }