Hey guys was wondering if someone would know why the onMouseDown stops working at some point in this project of mine, it simply wont detect the mouse click on the player anymore after some clicks, made this short video below so I can try to explain better, here is the onMouseDown function as well.
It’s possible there’s a collider between your player’s and the camera blocking the click. It could even be unused parts of a canvas object, such as a large empty text box or something.
Not sure you are in the best place to ask that place - Unity Skill Builder section is for those trying the Quests and Challenges from that course/builder
I second the comment above about a possible collider. I can’t remember off the top of my head whether the Event System shows clicks but that might be something to check out for more information.
sorry if thats not the right place for asking about this stuff, there is no collider there, I even re-created the tile maps, I ended up creating another function with raycast and put it in update instead of using onMouseDown, its not fixing the issue but as an alternative it worked, thanks for the info guys