Skip to content

InteractableObjectInteraction ​

Inherits: Interaction < Resource

Inherited by: ContainerInteraction, DoorInteraction, GatherInteraction, LadderInteraction, RabbitHoleInteraction, ReadableInteraction, SwitchInteraction, TrapInteraction

Only interactable objects can use these interactions

Methods ​

voidset_entity_reference( new_entity: Variant, p_system_hub: GameHost.SystemHub )
voidsetup_for_interactable_objects( interactable: InteractableObject )
boolcan_interact( _player: Player )

Method descriptions ​

void set_entity_reference( new_entity: Variant, p_system_hub: GameHost.SystemHub ) ​

Set the entity reference

void setup_for_interactable_objects( interactable: InteractableObject ) ​

Sets the interaction up on its object.

bool can_interact( _player: Player ) ​

Only an interactable object can use this interaction.