Hi everybody,
Just started working in Unity in an attempt to use it for designing interactive spaces. I’m trying to do a little test in which the player approaches an object and when he gets near a spotlight lights the object.
When the player leaves the object , the spotlight turns off.
Been trying to script this for hours but not quite getting it. Hope you can help me
Thanks