Skip to main content
1 of 7
pguetschow
  • 191
  • 2
  • 12

Prevent Unity click go trough Canvas

I'm currently facing this problem: If I click on a Button on my Canvas, the currently selected Unit moves towards the location under the Button.

Is is there any option to solve this? I'm using the A* Project for this.

Sadly, I can not provide anything I've done so far as I absolutely have no clue how to solve this problem.

If I disable the Button Option "Raycast Target" ist still moves to this position but holds a bit earlier.

pguetschow
  • 191
  • 2
  • 12