PlayMusicInteraction
Namespace: Murder.Interactions
Assembly: Murder.dll
public sealed struct PlayMusicInteraction : IInteraction
Implements: IInteraction
⭐ Constructors
public PlayMusicInteraction()
⭐ Properties
Music
public readonly SoundEventId Music;
Returns
SoundEventId
PreviousMusic
public readonly T? PreviousMusic;
Returns
T?
StopPrevious
public readonly bool StopPrevious;
Returns
bool
⭐ Methods
Interact(World, Entity, Entity)
public virtual void Interact(World world, Entity interactor, Entity interacted)
Parameters
world
World
interactor
Entity
interacted
Entity
⚡