MySys22.DialogueSystem
Document
1.0
Engine
0.5 BETA
Editor
0.5 BETA
Updated
2026-09-28

1. Architecture overview

ComponentLocationTechnologyResponsibility
MYSYS22.DEn — engineAssets/MySys22.DialogueEngine/C# (Unity 6)reads the contract, executes graphs, exposes API/events
MYSYS22.DEd — editorMySys22.DialogueEditor/Java 21 + JavaFXwrites lines/characters/variables, validates, performs deployment

The system is structured into the following Unity assemblies:

AssemblyRoot namespaceContent
MySys22.DialogueEngine.RuntimeMySys22.DialogueEngineCore, Bridge, UI, Audio, API
MySys22.DialogueEngine.EditorMySys22.DialogueEngine.Editorgraph window, node view, inspector, validation, digest, AOT, scene setup

The runtime depends on Unity.TextMeshPro, Unity.InputSystem, YamlDotNet, Unity.Burst, Unity.Collections, Unity.Jobs, Unity.Mathematics. The SIMD code is optional and always has a scalar fallback.

Project rule: no game logic is contained within the engine. The engine determines *when* a function must start and *what* must be done with the result; the manner in which a door is opened is instead determined by the game.


2. The on-disk contract

The root is unique: Assets/StreamingAssets/ (no wrapper folder).

File / folderWritten byRead byNotes
engine.manifest.jsonJava editorengineproject descriptor
Graphs/<id>.graph.yamlGraph Editor (Unity) or deploymentenginegraphs
Graphs/manifest.txtUnity menu / deploymentengine (mobile)graph index
Dialogue/<LINGUA>/<CID>.yamldeploymentengineline database
Dialogue/<LINGUA>/manifest.txtUnity menu / deploymentengine (mobile)line index
Characters/characters.list.yamldeploymentengineCID → displayed name
Variables/variables.yamldeploymentenginevariable declaration
engine.graphdigest.jsonengine (Unity menu)Java editorinventory for the writer

The ownership of the data is partitioned as follows:

responsibility of the game designer.

The legacy paths (Assets/StreamingAssets/MySys22.DialogueEngine/…, MySys22.DialogueAssets/…) are recognised and normalised by the engine; the Java deployment migrates the old folder if it detects it.