Can I create a script that when I target an object the player then teleports?
Just messing around with the cardboard assets in Unity I would like to create a script that when I look at an object with the pointer for 2 seconds the object changes colour then teleports the player camera to another specific location. Is there an easier way to do this? Or can I have some help starting the script. Thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612044610im_/https://answers.unity.com/themes/thub/images/avi.jpg)