InteractOnCollisionComponent
Namespace: Murder.Components
Assembly: Murder.dll
public sealed struct InteractOnCollisionComponent : IComponent
Implements: IComponent
⭐ Constructors
public InteractOnCollisionComponent()
public InteractOnCollisionComponent(bool playerOnly, bool sendMessageOnExit)
Parameters
playerOnly
bool
sendMessageOnExit
bool
public InteractOnCollisionComponent(bool playerOnly)
Parameters
playerOnly
bool
⭐ Properties
CustomEnterMessages
public readonly ImmutableArray<T> CustomEnterMessages;
Returns
ImmutableArray<T>
CustomExitMessages
public readonly ImmutableArray<T> CustomExitMessages;
Returns
ImmutableArray<T>
OnlyOnce
public readonly bool OnlyOnce;
Returns
bool
PlayerOnly
public readonly bool PlayerOnly;
Returns
bool
SendMessageOnExit
public readonly bool SendMessageOnExit;
Returns
bool
SendMessageOnStay
public readonly bool SendMessageOnStay;
Returns
bool
⚡