Displaying GUI Text with raycast problems in c#

Please don’t necro old threads. It is against the forum rules .
1g. Hijacking threads.
1i. Pointless necroposting (posting in a forum thread that is too old to matter any more, or has served its purpose)

Create your own thread describing your problem, what you have tried to solve it. The code you’ve been working with (with code tags ). etc.

If you don’t know where to start at all there’s Unity Learn. It has a great list of topics to start learning Unity.
It may even include the topics you require.