public void ConfirmEnemyTarget(BaseEnemy selectedTarget) { Commander.instance.turnStateMachine.HasConfirmedCommand = true; switch (activeCharacter.activeCommand.skillType) { case SkillType.SingleTarget: activeCharacter.CastToEnemy(activeCharacter.activeCommand, selectedTarget); ClearUnfriendlyTargets(); break; case SkillType.MultipleTarget: activeCharacter.CastToEnemies(activeCharacter.activeCommand, unfriendlyTargets); ClearUnfriendlyTargets(); break; default: break; } }