I've made a Canvas with a "world map" and a "shop" button with 2d collider and tried activating it with an Event Interaction setup on it and enabling "Start Click Interaction" on Game Controls -> Interaction settings. The clicks don't register even with spawning an unnecessary player into the scene with a 2d interaction controller. What's the easiest way to accomplish this task?
Post edited by foxx on
  • Check the Raycast Settings in Game > Game Settings, since you're using 2D colliders, make sure that you have a raycast type that supports 2D selected.

    Also, if you set the Max Click Distance (in the click interaction settings) to -1 there's no distance to player check :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you! The 2D raycasting did the trick.
Sign In or Register to comment.