1. Purpose of the documentation
The present set of documents describes MySys22.DialogueSystem, a system for the management of interactive dialogues intended for projects developed with Unity. The documentation is divided into standalone documents, each of which is intended for a specific category of users and can be consulted independently of the others.
2. Scope of the system
MySys22.DialogueSystem separates the authoring phase of the textual content from the execution phase of the dialogue within the application product. The separation is implemented by means of two distinct components that communicate exclusively through a shared file structure.
2.1 Components
| Commercial name | Component | Technology | Intended users |
|---|---|---|---|
| MYSYS22.DEn | Execution engine running within Unity | C# (Unity 6) | developers, game designers |
| MYSYS22.DEd | Standalone authoring editor, distributed as a jar with a lib/ folder | Java 21, JavaFX | writers, translators, narrative designers |
2.2 Integration model
The two components share neither code nor compilation dependencies. Data exchange takes place through the Assets/StreamingAssets folder of the Unity project, which constitutes the single contract of the system: it contains dialogue graphs, the line database, the character registry, the variable catalogue and the manifest files. The engine reads this structure at runtime; the editor produces and updates it by means of the deploy operation.
Operational consequence: the authors of the texts can work in parallel with the definition of the graph, and neither role must have access to the tools of the other.
3. Technical characteristics
| Characteristic | Description |
|---|---|
| Authoring independence | the editor is a standalone application; the drafting of texts requires neither opening Unity nor compiling the project |
| Single contract | paths, formats and denominations are defined in a single structure shared between editor and engine |
| Separation between path and text | the graph contains exclusively numeric DID references; the line database contains exclusively text |
| Identifier stability | identifiers already referenced by the graph cannot be deleted; new lines occupy the free intervals |
| Localization | each language corresponds to a folder of normalized files with an index; the language can also be changed at runtime |
| Application actions | the operations required by the game are implemented as C# actions with parameters, wait and boolean result |
| Platforms | single content for Windows, Linux, macOS, Android, iOS and WebGL; asynchronous reading by means of indices on platforms without direct file system access; IL2CPP support |
| Preliminary checks | project validation, identifier coverage and graph digests, also available from the command line |
| Editor interface | English, Italian, Spanish, Romanian, Japanese |
| Extension | typed variables, expressions evaluated by an interpreter without code execution, quest system, audio management per node and per line, public API |