The Dialogue Box
The ready-made dialogue UI: input, choices, pacing, sounds, portraits, and events.
The Dialogue Box is the ready-made dialogue UI that comes with the SDK. It plays your story and shows it on top of your game: the speaker's name and portrait, each line as it's typed out, and the choices. Most games can ship with it, changing only its theme and a few settings. If yours needs a completely different UI, see Building Your Own Dialogue UI.
Add one with Tools > Poetix > Create Dialogue Box, or right-click in the Hierarchy and choose Poetix > Dialogue Box. A scene needs only one. All its settings are on the PoetixDialogueBox object, grouped into sections you can open one at a time.

The story and where it starts#
At the top of the Inspector:
- Story: the
.poetixstory this box plays. A Dialogue Starter can play a different story, which then takes over. - Play When Scene Starts: start a conversation as soon as the scene loads, from the beat in Start From. Useful for an opening scene or for testing one conversation. Off by default, since most conversations are started by a Dialogue Starter or from code.
- Theme: the look of the whole box. See Themes & Layouts.
- Characters: the story's characters and their portraits, with View to select the story and see them all.
Below these, a preview shows what the box looks like with the current theme and layout, without pressing Play. If something in the setup is wrong, a message appears here with a button to fix it.
Text and pacing#
Text & Pacing controls how lines appear and when they move on.
- Text Reveal: Typewriter types each line out letter by letter, at Speed seconds per letter. Pause After Commas and Pause After Sentences add a short beat at punctuation, so the text reads like speech. Instant shows each line in full.
- While a line is typing, an advance key shows the rest of it at once. The next press moves on.
- Auto Advance moves to the next line by itself, for cutscenes or hands-off playback. A line stays up for Wait After Line (1 second by default) plus Per Letter (0.05 seconds) for each letter, so longer lines stay longer. Choices still wait for the player, and an advance key still moves on early.
- Fast Forward lets players hold a key to skip through lines, each shown for Time per Line. It always stops at the next choice, so no choice is ever picked by accident.
Keys and choices#
Input & Choices has a row of keys for each action, so you pick what players press without code:
- Advance: Space, Enter, Click / Tap, and Gamepad A are on. E is off, because the Dialogue Starter uses E to start conversations.
- Fast Forward (held): Ctrl, Tab, and Gamepad RB.
- Move Highlight: the up and down arrows, W / S, and the gamepad. Turn off any group your game uses to move the player. Left and right are never used, so they always stay free for your game.
- Pick Choice: Enter, Space, and Gamepad A pick the highlighted choice, and Number Keys 1–9 pick a choice by its number. Clicking a choice always works.

Below the key rows:
- Highlight First Choice: when choices appear, the first is already highlighted, so a pick key picks it right away.
- Choice Input Delay: how long choices ignore input after appearing (0.25 seconds by default), so a player tapping through lines doesn't pick one by accident.
- Locked Choices: what players see for a choice whose condition isn't met. Hidden (the default) leaves it out. Greyed Out shows it but it can't be picked, so players know there was another way. Greyed Out With Lock adds the theme's lock icon.
If your project uses the Input System, Custom Input Actions takes your own actions for Advance, Fast Forward, Move Highlight, and Pick Choice, so players can rebind them with the rest of your controls. An action replaces its row's keys. Clicks and number keys still work.
The box ignores keys while the player types in a text field. To keep it quiet while your own menus are open, see Keeping dialogue quiet during your menus.
Sounds#
The sounds themselves (opening, closing, next line, highlighting and picking a choice, and typing) are part of the theme, with a volume for each. Open Theme in the Audio section takes you to them. The box itself has:
- Volume: all dialogue sounds together.
- Output: an Audio Mixer group, such as your SFX group, so your game's volume settings apply to dialogue too.
- Typing Sound and Every N Letters: how often the typing sound plays while a line types out.
Using FMOD, Wwise, or your own audio code? Each sound has a hook you can set from code to play your own instead. See DialogueAudioConfig in the API Reference.
Portraits#
Characters, their names, and their images come from your story in Poetix (see Characters & Images). When a story is added or updated, Unity downloads its characters' images into Assets/Poetix/Portraits/<story name>/. They're normal project files: commit them, and they're included in your builds, with nothing downloaded while the game runs.
- To change a portrait, change the image in Poetix and update the story. Import settings you changed in Unity, such as Filter Mode for pixel art, are kept.
- A line with no character shows no name and no portrait.
To pick a portrait while the game runs, for example a silhouette until the player has met a character, use DialogueBox.SetPortraitResolver. To show "???" as a name until then, use SetSpeakerNameResolver.
Events#
The Events section runs things in your game at key moments, connected in the Inspector with no code:
- On Dialogue Started and On Dialogue Ended: a conversation begins or ends.
- On Line Shown: every line, with its text.
- On Choice Picked: the player picks a choice, with its text.
To connect one, press +, drag an object from your scene into the slot, then pick what it should do from the No Function menu. Some common ones:
- Freeze the player: your movement script's
enabled, unticked on On Dialogue Started and ticked on On Dialogue Ended. - Hide the HUD:
GameObject > SetActive, unticked when a conversation starts. - Play a sound or animation:
AudioSource > PlayorAnimator > SetTriggerwith the trigger's name.

These events fire the same way for every line. To react only to one character, beat, or variable, use the events in Controlling Dialogue from Code. Each Dialogue Starter also has its own events, for one character's conversation.
Debugging and advanced settings#
- Show Failed Conditions (Debugging): while testing, shows every locked choice with the condition it failed, whatever Locked Choices is set to. The same section turns on the in-game Debug Menu.
- Pause With Game Time (Advanced): dialogue keeps running while
Time.timeScaleis 0, so a paused game can still show a conversation. Turn this on to freeze typing and auto-advance along with the game instead. - Keep Between Scenes and History Size (Advanced): see One Dialogue Box for the whole game and The conversation history.
Changing the box itself#
The theme and layout cover most changes (see Themes & Layouts). You can also move, resize, and restyle the box's parts right in the scene: turn on Layout > Arrange Pieces by Hand so the layout leaves them where you put them.
To use your changed box in several scenes, or to rearrange or remove its parts, click Save as My Prefab under Layout. It saves your own prefab in Assets/Poetix/UI/. Edit that one, never the SDK's own prefab, so SDK updates still reach your box.
UI References lists the parts of the box the script writes to. They're already connected; change them only if you build your own layout. If one goes missing, the setup check at the top of the Inspector says so and offers Repair References.