1. Overview
MySys22.DialogueSystem consists of two distinct programs that operate on the same data structure: the execution engine, integrated in Unity, and the authoring editor, a standalone application intended for the drafting of texts. The present guide describes installation, initial configuration, the data structure and the complete reference of the two interfaces.
1.1 Functional architecture
- The engine (
MYSYS22.DEn) resides in the Unity project, interprets the dialogue graphs,
presents the lines and calls the actions required by the game logic.
- The editor (
MYSYS22.DEd) operates on an independent writing project, produces the line
databases and transfers the content to the Unity project by means of the deploy operation.
- The data exchange takes place exclusively through the
Assets/StreamingAssetsfolder, which
constitutes the contract of the system.
1.2 Operational roles
| Role | Tool | Responsibility |
|---|---|---|
| Writer, translator | Java editor | drafting and revision of the lines, management of characters and variables, deploy of the content |
| Game designer | Unity | definition of the graph: sequence of the lines, choices, functions, conditions, jumps between graphs |
| Developer | Unity, C# code | implementation of the actions required by the graph, management of events, variables, quests, audio and position |
1.3 Reasons for the separation into two components
The separation allows the drafting of texts while the graph is being modified, without requiring either role to learn the tool of the other. The graph contains no text and the line database contains no path references: the two activities proceed independently and meet solely through the identifiers of the lines.
2. Requirements and installation
2.1 Requirements
| Component | Requirements |
|---|---|
| Engine | Unity 6 (version 6000.0.x), TextMeshPro, Input System |
| Editor | Java 21; for compilation from sources, Maven |
The engine is compatible with the classic input manager, with the new Input System and with the simultaneous activation of both.
2.2 Installation of the engine (MYSYS22.DEn)
- Copy the
Assets/MySys22.DialogueEnginefolder into the Unity project.
- Select the menu
MySys22 ▸ Dialogue ▸ Setup Sceneto create and connect the dialogue interface
in the current scene.
- The data structure in
Assets/StreamingAssetsis created automatically on first use.
2.3 Installation of the editor (MYSYS22.DEd)
Two execution modes are provided:
| Mode | Procedure | Intended users |
|---|---|---|
| Portable distribution | run run.sh (Linux, macOS) or run.bat (Windows) from the folder containing mysys22-dialogue-editor.jar and the lib/ folder | end users |
| Compilation from sources | run MySys22.DialogueEditor/run.sh, which performs the compilation by means of Maven | developers |
The editor starts on the initial screen with the list of recent projects; it does not require the installation of Unity.