Is there OnUse event? An event triggered when you use Usable component, with no conversation.
Best!
Event for Use
Re: Event for Use
Hi,
It's sent as a message using SendMessage(), so you can just add a method like this to your script:
The sender is the GameObject that sent the OnUse message, usually the player.
It's sent as a message using SendMessage(), so you can just add a method like this to your script:
Code: Select all
public void OnUse(Transform sender) {
// Your code here
}