DestroyAtTimeComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct DestroyAtTimeComponent : IComponent

Implements: IComponent

⭐ Constructors

public DestroyAtTimeComponent()

Destroy at the end of the frame

public DestroyAtTimeComponent(RemoveStyle style, float timeToDestroy)

Parameters
style RemoveStyle
timeToDestroy float

public DestroyAtTimeComponent(float timeToDestroy)

Parameters
timeToDestroy float

⭐ Properties

Style

public readonly RemoveStyle Style;

Returns
RemoveStyle

TimeToDestroy

public readonly float TimeToDestroy;

Returns
float