Derived from vp_Interactable, this component makes the NPC interactable within the UFPS framework. More...
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... | |
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.
|
virtual |
void PixelCrushers.DialogueSystem.UFPS.FPInteractableDialogue.SetInteractivity | ( | bool | canInteract | ) |
Sets the interactivity.
Just enables or disables the dialogue crosshair texture.
canInteract | If set to true can interact. |
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.