Hi. First of all I want to say that I have a basic knowledge about C# and i want to make a combat system with sword.
I know I can do it in different ways:
For example I can use the OnCollisionEnter functio, or I can invoke the Damage function when I press the left mouse button and when the enemy is in < 2 range, but I think there are different and better ways to do it.
How would you do it?
↧