namespace Content.Shared.Spawners.Components; /// /// Put this component on something you would like to despawn after a certain amount of time /// [RegisterComponent] public sealed class TimedDespawnComponent : Component { /// /// How long the entity will exist before despawning /// [ViewVariables] [DataField("lifetime")] public float Lifetime = 5f; }