Class InteractabilityCheckerAttribute
Registers a method as interactability checker for the interactor with respect to the specified interactable object. The method must have the correct signature:
- Accepts a IInteractable as the only argument
- Have a return type of bool
- Method must be private
If mutiple checkers are registered for the same interactable object, only the last one will be considered.
Inheritance
InteractabilityCheckerAttribute
Assembly: LobsterFramework.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class InteractabilityCheckerAttribute : Attribute, _Attribute
Constructors
|
Improve this Doc
View Source
InteractabilityCheckerAttribute(Type)
Declaration
public InteractabilityCheckerAttribute(Type interactable)
Parameters
Type |
Name |
Description |
Type |
interactable |
|
Fields
|
Improve this Doc
View Source
interactableType
Declaration
public Type interactableType
Field Value
Implements