Add pointlight to flashbangs (#15785)
This commit is contained in:
11
Content.Client/Light/Components/LightFadeComponent.cs
Normal file
11
Content.Client/Light/Components/LightFadeComponent.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Content.Client.Light.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Fades out the <see cref="SharedPointLightComponent"/> attached to this entity.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class LightFadeComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("duration")]
|
||||
public float Duration = 0.5f;
|
||||
}
|
||||
Reference in New Issue
Block a user