I have made a game to for Android. I’m not using any touch input, only void OnMouseDown, because, its only requires one click at the time.
What i am trying to do:
When i click on a object, a 2D Circle collider enables, and anyone within this collider shall be destroyed.
Where is it working?
When i test the game in unity, and click with the mouse it works perfectly
When i test the game though Unity Remote 4, with my Samsung Galaxy S6 egde, it works perfectly.
When i build the game into a .apk, and test it on my same Samsung mobile, it doesn’t work anymore.
OnMouseDown have work so far.
I have only used OnMouseDown, to the whole game, It works perfect when i navigate though the menu and levels.
But when it comes to this object it wont work
Object 1: The Bomb
Tag: Bomb
Collider: BoxCollider2D & CircleCollider2D (On trigger and disable at start)
Action: When you click on the bomb, CircleCollider2D enables
Object X: The Targets in plural
tag: unknown
Collider: BoxCollider2D
Action: