I am making a shooting game where the mouse acts as the crosshair and the targets use OnMouseDown() to know when they are hit. My problem is that I do not want the mouse to click only at one pixel because that is too small of an area. Is there a way to increase the area of the mouse click? Maybe to 4x4 pixels? Or maybe I can use another method to achieve my goal?
Well, just increase the size of your colliders. If you don’t want to increase the collider sizes you have to ray cast manually. Instead of a Raycast you can use a SphereCast and use then radius you want
From looking around in the docs I found some stuff. Not sure if they work, but it wouldn’t hurt to try it out.