Unity Dialogue Plugin
A free open-source package for branching narrative and dialogue in Unity, powered by StoryFlow Editor.
Build branching narratives in Unity without nested if/else chains in your game scripts. Import StoryFlow Editor projects, play dialogue with characters and choices, manage variables, save and load progress and sync edits live from the editor. Built for RPGs, visual novels, adventure games and any project that needs an interactive narrative.
Features
- Native C# runtime with full event-driven API
- Import and run StoryFlow Editor projects directly
- All 150+ node types supported including branching, loops, and arrays
- Character system with portraits, names, and per-character variables
- Built-in audio playback with looping and volume control
- Save and load system with slot-based persistence
- Live Sync with the StoryFlow Editor via WebSocket
- Default uGUI dialogue UI with full customization support
- Free and open-source UPM package
Frequently Asked Questions
Install the StoryFlow Unity package via UPM, import a story file exported from StoryFlow Editor and call StoryFlow.Play from any MonoBehaviour. Branching logic, character display, choices and variables are handled by the C# runtime, so the branching narrative shows up on screen without nested if/else in your game scripts. The default uGUI dialogue widget renders it, and you can swap that for a custom UI by implementing IStoryFlowDialogueUI.
Yes! The Unity package is completely free and open-source. You can use it in any project, including commercial games, without paying any licensing fees for the package itself.
Yes, the package is a runtime that plays dialogue files created with StoryFlow Editor. You'll need StoryFlow Editor to create and edit your branching narratives, then export them for use with the Unity package. Check our pricing page for editor options.
Follow the Installation guide to set up the package, then work through the Quick Start tutorial to get your first dialogue running in under 10 minutes.
The package supports Unity 2022.3 LTS and later. It uses standard Unity APIs and works with both the Built-in Render Pipeline and URP/HDRP. IL2CPP and Mono scripting backends are both supported.
Absolutely! The package is released under the MIT license. You're free to use it in commercial projects, modify the source code, and distribute games that include it.
Yes. The package provides a default uGUI-based dialogue UI you can use out of the box, but you can also extend the base StoryFlowDialogueUI class or implement the IStoryFlowDialogueUI interface for fully custom UIs. The runtime broadcasts all dialogue state via C# events, so you have complete flexibility.
Join our Discord community where you can ask questions, report bugs, and connect with other developers.
Yes, we're committed to maintaining and improving the package alongside the StoryFlow Editor. As an open-source project, the community can also contribute features and improvements.
Stay Updated
Get notified about plugin updates, new features, and tips for integrating StoryFlow into your projects.
We respect your privacy. Unsubscribe at any time.