Question by
Leon700 · Mar 01, 2016 at 12:59 PM ·
android2dmobilerigidbody2dmobileoptimization
Is Collider 2D and OnMouseDown a good combination for mobile?
I'm making an android game and i'd like know if putting a 2D collider in an object and calling OnMouseDown()
is a bad idea for mobile ( if it has any performance issues) . If it is, is there a better way to do it?
Comment
Not to my knowledge. When touching a touchscreen, On$$anonymous$$ouseDown() will act just as if it were a mouse click.