PixelCrushers.DialogueSystem.UFPS.FPInteractableDialogue Class Reference

Derived from vp_Interactable, this component makes the NPC interactable within the UFPS framework. More...

Inheritance diagram for PixelCrushers.DialogueSystem.UFPS.FPInteractableDialogue:
Collaboration diagram for PixelCrushers.DialogueSystem.UFPS.FPInteractableDialogue:

Public Member Functions

virtual void Awake ()
 
override bool TryInteract (vp_PlayerEventHandler player)
 Sends an OnUse message to this object. More...
 
void SetInteractivity (bool canInteract)
 Sets the interactivity. More...
 

Detailed Description

Derived from vp_Interactable, this component makes the NPC interactable within the UFPS framework.

When the player interacts with the NPC, this component sends an OnUse message to the NPC. If the NPC has a Conversation Trigger configured to listen for OnUse, it will start a conversation.

Member Function Documentation

◆ Awake()

virtual void PixelCrushers.DialogueSystem.UFPS.FPInteractableDialogue.Awake ( )
virtual

◆ SetInteractivity()

void PixelCrushers.DialogueSystem.UFPS.FPInteractableDialogue.SetInteractivity ( bool  canInteract)

Sets the interactivity.

Just enables or disables the dialogue crosshair texture.

Parameters
canInteractIf set to true can interact.

◆ TryInteract()

override bool PixelCrushers.DialogueSystem.UFPS.FPInteractableDialogue.TryInteract ( vp_PlayerEventHandler  player)

Sends an OnUse message to this object.

Add a Dialogue System Conversation Trigger to the object that will listen for OnUse and start a conversation.


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