Basic interactable component. More...
Public Member Functions | |
virtual void | Interact (Vector3 playerPosition, CompassDirection playerCompassDirection) |
Activate the interactable, given the grid controller's position and compass direction. | |
Properties | |
bool | DisableAfterUse [get] |
Events | |
System.Action< Vector3 > | Interacted = null |
Basic interactable component.
Manually call Interact() to activate it.
|
inlinevirtual |
Activate the interactable, given the grid controller's position and compass direction.
Implements PixelCrushers.GridController.IInteractable.
Reimplemented in PixelCrushers.GridController.Lever.
|
get |
System.Action<Vector3> PixelCrushers.GridController.Interactable.Interacted = null |