Add pointlight to flashbangs (#15785)

This commit is contained in:
metalgearsloth
2023-04-26 13:51:48 +10:00
committed by GitHub
parent b7a8bb227f
commit 7360ed0a7f
6 changed files with 99 additions and 0 deletions

View 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;
}