void Update() { if (isFlickering && TimeController.GetTime() / 0.1 > flickerTime) { flickerTime += 1; float flicker = Random.Range(0.95f, 1.05f); _light.intensity = currentIntensity * flicker; } }