ChrisMuriel/My-Friend-and-Me — pull request #4 by jceipek (2014-11-03 08:58:26+00:00)
Title: Jc light reflection

We’ll probably need to change the light material/texture to make the beams and their bounces look more realistic, but the core functionality should be quite robust. I added an IRespondToIllumination interface that we can use to enable light-activated behavior on objects such as the plants without needing to modify any of the scripts I’ve written so far.

I created prefabs for beams and reflectors. Place some in a scene to test them out. Beams you add will persist, but beams spawned by reflectors will disappear when the source of the reflection moves or is destroyed in a script that first calls StopIlluminatingTarget.