private void OnActionOnUnit(Unit target) { if (target.Faction != faction) { commandExecutor.AddCommand(new AttackCommand(selectionSystem.Selected, target)); } }