Damaging enemies...

What is a possible way to cause a number of attack points to an enemy via collision? Can this be in C#?

Thanks in advance!

yes, it can…
in c# or js add the OnCollisionEnter method to your object, add a colider and if other object’s collider enter the collision zone of your object, it will trigger the method, then you could modify your enemy life the way you want.

good luck, any question google “oncollisionenter unity”, everything is very well explained in unity documentation.