Interacting with objects using raycast.
Hi , I have raycast from main camera and currently I have woring Debug.Log which show me in console name of object what I hit. And I have script which change color of object when I hover over it with mouse.
So I am trying to create script on object which will do basically same mentioned above but WHEN HIT BY RAYCAST...
1)Take a Object Tag name and display it above object and change color of that object.
2)start cutscene when "E" key is pressed.
3) return color to normal
Your answer
![](https://koobas.hobune.stream/wayback/20220612065005im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do I add UI pop up with this script? 0 Answers
Tell distance from player to an object using raycast? 0 Answers
Create a UI and place onto object 1 Answer
Raycast detect in object (problem) 0 Answers
(Final IK) How can I change the Type of the Weight Curve of an Interaction Object from the script? 0 Answers