MusicComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct MusicComponent : IComponent

Music component which will be immediately played and destroyed.

Implements: IComponent

⭐ Constructors

public MusicComponent()
public MusicComponent(SoundEventId id)

Parameters
id SoundEventId

⭐ Properties

Id

public readonly SoundEventId Id;

Returns
SoundEventId