Example #1
0
    void Update()
    {
        float intensity = receiver.GetLightIntensity();

        light.SetLightIntensity(intensity);
        this.areaLight.intensity = intensity;
    }