Class InteractionHandlerAttribute
Registers a method as interaction handler for the interactor. The method must have the correct signature:
- Accepts a interactable object as the only argument
- Does not have a return type
- Method must be private
If mutiple handlers are registered for the same interactable object, only the last one will be considered.
Inheritance
InteractionHandlerAttribute
Assembly: LobsterFramework.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class InteractionHandlerAttribute : Attribute, _Attribute
Constructors
|
Improve this Doc
View Source
InteractionHandlerAttribute(Type, InteractionType)
Declaration
public InteractionHandlerAttribute(Type interactable, InteractionType interactionType)
Parameters
Fields
|
Improve this Doc
View Source
interactableType
Declaration
public Type interactableType
Field Value
|
Improve this Doc
View Source
interactionType
Declaration
public InteractionType interactionType
Field Value
Implements