Beispiel #1
0
 private void SetTargets(LightingEvent light, Color a)
 {
     if (previousValue == MapEvent.LIGHT_VALUE_BLUE_FADE || previousValue == MapEvent.LIGHT_VALUE_RED_FADE)
     {
         light.UpdateCurrentColor(a * HDR_Flash_Intensity);
         light.UpdateTargetAlpha(0);
     }
     else
     {
         light.UpdateTargetColor(a * HDR_Intensity, 0);
         light.UpdateTargetAlpha(a.a);
     }
 }