Reputation: 2962
I'm trying to detect when the user click on a plane in C#. I tryed OnMouseDown()
but it has no effect.
According to some topics on the web, the object must have a collider, but my plane has one.
I also found topics talking about raycast, but I must admit I don't really understand what it is and what it does. Could someone lead me to a good and (relatively) simple exemple that explains well how to do what I would like to do?
Thanks, have a good day
Upvotes: 2
Views: 779