## Laser Receiver Controller Turns things on while a laser end point is inside its trigger, and off again when it leaves. ## Requires: - **Collider** set to Is Trigger (a Box Collider is checked exactly, rotation included; other shapes use the box around them) ## Target Object - Type: GameObject - Active while a laser is inside, inactive otherwise. Turned off when the world loads. ## Laser Layer - Type: Int - The layer of the laser end point's collider. Colliders on this layer count as a laser, unless they belong to a pickup. - **Default Value:** `22` ## Animators / Parameter Names - Type: Arrays - Each Animator gets its matching bool parameter set to whether a laser is inside. Empty entries are skipped. ## Audio Object True / Audio Object False - Type: GameObject - Enabled when a laser arrives (True) or leaves (False); the other one is disabled. ## Audio Object Loop - Type: GameObject - Active while a laser is inside. ## Trigger Collider - Type: Collider - The trigger to check. If it's left empty, this GameObject's collider is used. ## Target Renderer / Material True / Material False / Material Index - Swaps the Target Renderer's material at **Material Index** to Material True while a laser is inside, and to Material False when it leaves. ## Debug Mode - Type: Boolean - Logs every change of the number of lasers inside.