PixelCrushers.DialogueSystem.UFPSSupport.FPInteractableDialogue Class Reference

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

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

Public Member Functions

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

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.UFPSSupport.FPInteractableDialogue.Awake ( )
inlinevirtual

◆ SetInteractivity()

void PixelCrushers.DialogueSystem.UFPSSupport.FPInteractableDialogue.SetInteractivity ( bool  canInteract)
inline

Sets the interactivity.

Just enables or disables the dialogue crosshair texture.

Parameters
canInteractIf set to true can interact.

◆ TryInteract()

override bool PixelCrushers.DialogueSystem.UFPSSupport.FPInteractableDialogue.TryInteract ( vp_PlayerEventHandler  player)
inline

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: