Unity GUI Bark UI On GUI

Component > Dialogue System > UI > Unity GUI > Bark > Bark UI (On GUI)

The Unity Bark UI component will automatically add a Unity Bark UI On GUI if it doesn't already exist on the same GameObject. The Unity Bark UI On GUI component is separate so it can be deactivated while no barks are being shown. This prevents the small overhead incurred when Unity invokes OnGUI(), which can add up if you have a very large number of barking NPCs.

If you want to specify an offset from the position determined by Unity Bark UI, you can manually add this component and enter the offset.

To specify a maximum width, set Max Width to a value greater than zero. You will probably also want to tick the Word Wrap checkbox in your GUI style so longer barks wrap to this width.

Script reference: PixelCrushers.DialogueSystem.UnityGUI.UnityBarkUIOnGUI


<< Unity UI Bark UI