I deactivate parts of my level while the player isn’t there for performance reasons, and I want to be able to ‘turn on’ the lights of those sections with a fade effect instead of them just flashing on when the player gets near.
I’m not worried about the fade-in code, just the detection of reactivation (or deactivation).