Loading...
Searching...
No Matches
PixelCrushers.GridController.Interactable Class Reference

Basic interactable component. More...

Inheritance diagram for PixelCrushers.GridController.Interactable:
Collaboration diagram for PixelCrushers.GridController.Interactable:

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
 

Detailed Description

Basic interactable component.

Manually call Interact() to activate it.

Member Function Documentation

◆ Interact()

virtual void PixelCrushers.GridController.Interactable.Interact ( Vector3  playerPosition,
CompassDirection  playerCompassDirection 
)
inlinevirtual

Activate the interactable, given the grid controller's position and compass direction.

Implements PixelCrushers.GridController.IInteractable.

Reimplemented in PixelCrushers.GridController.Lever.

Property Documentation

◆ DisableAfterUse

bool PixelCrushers.GridController.Interactable.DisableAfterUse
get

Event Documentation

◆ Interacted

System.Action<Vector3> PixelCrushers.GridController.Interactable.Interacted = null

The documentation for this class was generated from the following file: