Search found 1 match

by mclane
Mon Dec 05, 2022 5:17 pm
Forum: Dialogue System for Unity
Topic: Call a Custom Method with Usable's OnUse()
Replies: 1
Views: 108

Call a Custom Method with Usable's OnUse()

Hi Tony, thank you so much for this great asset. I am seeing if there is a way to call a method in a c# script I wrote through the Usable component's OnUse()? For example, if my NPC has a "LookAtPlayer" function that rotates him to the player, how can I call this either through the compone...