Hi,
The prefab is in an updated RPG Kit Support package. You can download it from the Dialogue System Extras page:
http://www.pixelcrushers.com/dialogue-system-extras/
The Barker prefab now uses Unity UI Bark UI. Add the Barker prefab to your scene and expand it. You will see a child GameObject named
Basic Unity UI Bark UI. Inspect this GameObject. On the
Canvas Group component, set
Alpha to
1. Then customize the appearance to your liking.
When you're ready to make a build for players, set
Alpha back to
0. The game will still run fine if you don't set it to
0, but the bark will flicker when appearing and disappearing.
To limit the barks to a certain distance, add a
Range Trigger to the NPC:
1. Add a Sphere Collider. Tick
Is Trigger. Expand it to the maximum range at which the NPC should bark.
2. Add a Range Trigger component. Set
Conditions > Accepted Tags to "Player". Add Bark On Idle (or whatever method you're using to bark) to the
Components section.