I am working on mobile game where the Hero can choose bullet color to shoot down specific color enemy. Game is top-down shooter. The problem is with selecting color and shooting. I have 4 color cubes on which touched i choose specific color, but at that time my hero shoots on that way, because with touch on anywhere on screen hero spawns the bullet that way. At first I selected double touch to spawn the bullet, but that isn't easy for player, so it would be better if shooting can happen with single touch.
Could there be any way how to fix this problem, so my hero won't shoot when I touch any of the cubes when select color?