mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-07 13:05:41 +00:00
added shadows to flashlight
This commit is contained in:
parent
a09e9568e7
commit
c3dee2c3ae
@ -26,10 +26,12 @@ namespace QSB.Tools
|
||||
_root = oldComponent.GetValue<Transform>("_root");
|
||||
_basePivot = oldComponent.GetValue<Transform>("_basePivot");
|
||||
_wobblePivot = oldComponent.GetValue<Transform>("_wobblePivot");
|
||||
Destroy(oldComponent.GetComponent<LightLOD>());
|
||||
|
||||
foreach (var light in _lights)
|
||||
{
|
||||
light.GetLight().enabled = false;
|
||||
light.GetLight().shadows = LightShadows.Soft;
|
||||
}
|
||||
_flashlightOn = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user