变换光线是颜色的渐变!调用light组件里边的颜色属性进行渐变,渐变的方法是Mathf.Lerp();light.intensity = Mathf.Lerp(0,1,Time.time * 0.1);