I created two tilemap and one sprite,all implement IPointerClickHandler,
- tilemap: poistion.z=4,order in layer = 5
- sprite: poistion.z=0,order in layer = 8
- tilemap: poistion.z=-1,order in layer = 11
Now,I click on the overlap of sprite and tilemap,Each time the event of the sprite;
If you click the non sprite position,It’s based on poistion.z trigger event;
What should I do?