When a shotgun fires a group of pellets, and let's say 1 or 20 pellets hit the target: how do I call a function only once per accurate shot, instead of once per pellet collision?
When using OnCollisionEnter on the projectile or on the target itself, the method gets called for each individual pellet collision.
Should I use an event for this problem? How would I do this?
Edit: Ah, I forgot to edit this once I figured it out. I think some people might've misunderstood my problem.