Using Raycast to "select" an object.

Hello,
i’ve a question about objects selection. For example: I’ve an object on my scene and i need to take it’s ID when i click on it. Anyone can help me to find some documentation or example in Unity?

Usually i use a raycast, but i’m new with unity and i don’t know how can do it. Thanks a lot!

Theses 2 links from the docs should set you in the right direction.

Oh Thanks! I will read it now.