* Movement acceleration * tweaks * Weightless refactor coz fuck it * CCVars * weightless movement tweaks * Some cleanup while I'm here * dorkpacks * thanks fork * fixes * zoomies * toggles * hmm * yamls * b * so true * Effects refactor * namespace * review
16 lines
421 B
C#
16 lines
421 B
C#
namespace Content.Shared.Spawners.Components;
|
|
|
|
/// <summary>
|
|
/// Put this component on something you would like to despawn after a certain amount of time
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class TimedDespawnComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// How long the entity will exist before despawning
|
|
/// </summary>
|
|
[ViewVariables]
|
|
[DataField("lifetime")]
|
|
public float Lifetime = 5f;
|
|
}
|