Hey im wondering how can i force to end bark from script.
In my case im barking while player hover into object but when picking it i would like to end bark with nametag.
Do anyone know how to do it?
Ending Bark from script
Re: Ending Bark from script
Hi,
If you want to hide a specific bark UI, you can call its Hide() method.
If you have a group of barkers and you don't know which one is barking, you can either handle it yourself and call Hide(), or you can use bark groups.
If you want to hide a specific bark UI, you can call its Hide() method.
If you have a group of barkers and you don't know which one is barking, you can either handle it yourself and call Hide(), or you can use bark groups.
How to hide all in a bark group
1. Add a Bark Group Member component to each barker, and assign the same group ID to them.
2. Create an empty GameObject and add a Bark Group Member component with the same group ID (e.g., named NoBark).
3. Call BarkGroupManager.instance.Mutex(groupID, NoBark);[/code]
2. Create an empty GameObject and add a Bark Group Member component with the same group ID (e.g., named NoBark).
3. Call BarkGroupManager.instance.Mutex(groupID, NoBark);[/code]