Need help with button functionality in-game!

Hi all!

I posted this question initially on the Q&A and got pointed this way so i hope you can all help!

Before i go onto the question i think it would be helpful for a little bit of context.

I am creating a very small environment in Unity that you can move round (In First-person). The environment will showcase different products that when selected, display a screen showing some details.

I have made the environment and applied the first person camera and controls.

So my question is: How do i go about allowing the user to select a product? And then from there, how could i then get that to trigger a screen to come on and display an image?

Thank you to anyone who replies!

If you intend to allow user to select product by mouse position, maybe you could cast a ray from camera to the mouse position: check http://forum.unity3d.com/threads/32030-Get-mouse-cursor .

You could make triggers for each product, and if raycasting triggers one of them, it sends message to OnGUI-function to display proper image.