partial void SetLightSourceState(bool enabled, float brightness) { if (light == null) { return; } light.Enabled = enabled; light.Color = LightColor.Multiply(brightness); }