- Home /
Question by
potu1304 · Oct 31, 2012 at 01:20 PM ·
c#gameobjectclickgraphic
Show graphic when using/click GameObject [C#]
Hello!
I want to show a graphic ( an note or letter or something) on the screen when I click on the GameObject. Is there any way to go about it? I have a simple pick up script but I don't want to pick it up I want to only "look" at the note or letter.
Greetings
Comment
Use raycast. Then save hit.position. transform it via worldToScrean and Use onGui to draw box or what u want. it would be easy if u use bool drawHint )