Reactive Spaces
Description
The homework is to make a world spatially reactive by adding triggers and colliders as a means for interaction. Think of how these reactions can happen over space, over time, affect one element or multiple elements, affect the player or the world.
1️⃣ Add one trigger and one collider, affecting sound and lights
2️⃣ Add multiple triggers and colliders, creating a game object, affecting a game object, and affecting UI displays.
Click me to watch the demo
Problem
I use three triggers to affect three sounds and three lights. Each trigger corresponds to one sound and one light. For the first-person perspective, I can use one trigger to play a sound effect by going into the range of collider, and at the same time to turn a light on and off by going into the range of collider and pressing a key. Then I switch to the third-person perspective (0:34) and the trigger can only affect the light, but not the sound effect.
// Thanks to Pierre's help, this problem has been solved