- Home /
Question by
Rosscoe3 · Aug 14, 2015 at 01:33 AM ·
gameobjecttagonmousedownname
Detecting name through OnMouseDown
I'm trying to find out what OnMouseDown is hitting when i click.. do i use debug.log (gameobject.name) ??? that doesn't seem to work.. if you could write in #C that would be great :)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220611235810im_/https://answers.unity.com/themes/thub/images/avi.jpg)