> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/plugins-and-integrations/convai-unity-sdk/features/narrative-design.md).

# Narrative design

Narrative Design gives Convai characters a structured story graph of sections and triggers. This section covers everything from understanding the runtime model to the complete scripting API.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>How narrative design works</strong><br>Understand the runtime pipeline, sections, triggers, template keys, and component placement.</td><td><a href="/pages/xq1fYsxzZSvmTVHhAuzP">/pages/xq1fYsxzZSvmTVHhAuzP</a></td></tr><tr><td><strong>Narrative design quick start</strong><br>Add a Manager and a collision trigger to a character and confirm a section change in Play Mode.</td><td><a href="/pages/bKLk8evl0rKJoAJVLBDc">/pages/bKLk8evl0rKJoAJVLBDc</a></td></tr><tr><td><strong>Configure the narrative design manager</strong><br>Add, sync, and configure the Manager component — the listening post for section transitions.</td><td><a href="/pages/kZqgIdGNMRTi9mAsEy9T">/pages/kZqgIdGNMRTi9mAsEy9T</a></td></tr><tr><td><strong>Configure narrative design triggers</strong><br>Place world triggers with collision, proximity, timer, or manual activation.</td><td><a href="/pages/TN48vuadtxlKi07jDDXf">/pages/TN48vuadtxlKi07jDDXf</a></td></tr><tr><td><strong>Configure narrative template keys</strong><br>Inject runtime values into the character's narrative objectives from the Inspector or code.</td><td><a href="/pages/GGAj3nmRIj3JmjXWgn9u">/pages/GGAj3nmRIj3JmjXWgn9u</a></td></tr><tr><td><strong>Narrative design scripting reference</strong><br>Full C# API reference for IConvaiNarrativeDesign, NarrativeDesignFetcher, and programmatic control.</td><td><a href="/pages/ShMEkDz5iXv32f3SAnZ6">/pages/ShMEkDz5iXv32f3SAnZ6</a></td></tr><tr><td><strong>Narrative design usage examples</strong><br>Four worked examples from a simple welcome kiosk to a fully adaptive multi-section scenario.</td><td><a href="/pages/P5OgJto88LWqfhKMP4eD">/pages/P5OgJto88LWqfhKMP4eD</a></td></tr><tr><td><strong>Troubleshoot narrative design</strong><br>Diagnose every TriggerStatus state, common misconfigurations, and fetch failures.</td><td><a href="/pages/aqms53VNdK2b217bHljp">/pages/aqms53VNdK2b217bHljp</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.convai.com/api-docs/plugins-and-integrations/convai-unity-sdk/features/narrative-design.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
