How to clear Bark Group Queue

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Saper
Posts: 52
Joined: Tue Jan 12, 2021 11:25 am

How to clear Bark Group Queue

Post by Saper »

Hi

Tony I want to clear my Bark Groups Queues. How to do it? I want to hide Barks when I start a cutscene, but when i switch off Object and after cutscene I switch it on sometimes old bark flashes before new one.

I found that when I switch off Bark Group Menager for cutscene time I don't have this problem, is this a right solution?
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to clear Bark Group Queue

Post by Tony Li »

Hi,

This patch adds a method: BarkGroupManager.instance.CancelAllBarks(). This method will hide all bark UIs of all bark group members and clear any queued barks that are waiting to start.

To hide the barks of a single group, you can now pass null to MutexBark: BarkGroupManager.instance.MutexBark(id, null).

DS_BarkGroupPatch_2022-11-16.unitypackage
Post Reply