1
0

FlashOnTriggerComponent.cs 409 B

12345678910111213
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Flash.Components;
  3. /// <summary>
  4. /// Upon being triggered will flash in an area around it.
  5. /// </summary>
  6. [RegisterComponent, NetworkedComponent]
  7. public sealed partial class FlashOnTriggerComponent : Component
  8. {
  9. [DataField] public float Range = 1.0f;
  10. [DataField] public float Duration = 8.0f;
  11. [DataField] public float Probability = 1.0f;
  12. }