Interface IInteractor
Defines a type that has Interaction defined on it via InteractionAttribute.
Namespace: Eco.Gameplay.Interactions.Interactors
Assembly: Eco.Gameplay.dll
Syntax
public interface IInteractor : IHasInteractions, IController, IViewController, IHasUniversalID
Methods
DoInteraction(Player, InteractionTriggerInfo, InteractionTarget)
Declaration
virtual bool DoInteraction(Player player, InteractionTriggerInfo trigger, InteractionTarget target)
Parameters
| Type | Name | Description |
|---|---|---|
| Player | player | |
| InteractionTriggerInfo | trigger | |
| InteractionTarget | target |
Returns
| Type | Description |
|---|---|
| System.Boolean |