AddEntityOnInteraction

Namespace: Murder.Interactions
Assembly: Murder.dll

public sealed struct AddEntityOnInteraction : IInteraction

This will trigger an effect by placing AddEntityOnInteraction._prefab in the world.

Implements: IInteraction

⭐ Constructors

public AddEntityOnInteraction()
public AddEntityOnInteraction(Guid prefab)

Parameters
prefab Guid

⭐ Methods

Interact(World, Entity, Entity)

public virtual void Interact(World world, Entity interactor, Entity interacted)

Parameters
world World
interactor Entity
interacted Entity