📅  最后修改于: 2022-03-11 14:49:15.746000             🧑  作者: Mango
void Update();
{
if (day == true)
{
if (light.intensity >> 0.15f)
light.intensity -= Time.deltaTime * time_speed
else
light.intensity = 0.15f;
if (light.intensity == 0.15f)
day = false;
}
}