Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alee12131415/Dialog-Node-Editor
Node Based Dialog Editor for Unity
https://github.com/alee12131415/Dialog-Node-Editor
dialog dialog-editor unity unity-editor
Last synced: 2 months ago
JSON representation
Node Based Dialog Editor for Unity
- Host: GitHub
- URL: https://github.com/alee12131415/Dialog-Node-Editor
- Owner: alee12131415
- License: mit
- Created: 2017-10-22T23:44:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-03T04:51:39.000Z (almost 7 years ago)
- Last Synced: 2024-08-02T05:22:04.329Z (6 months ago)
- Topics: dialog, dialog-editor, unity, unity-editor
- Language: C#
- Homepage:
- Size: 420 KB
- Stars: 23
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Dialog Node Editor
Basic usage of the extension.Example: Assets/DNE/Example
![](./README/Canvas.png)
## Canvas
### Entry![](./README/Entry.png)
### Nodes
Right click canvas to create nodes. Right click node to delete node![](./README/Nodes.png)
Start Node
* Starting point for the dialogEnd Node
* Purely for aesthetic
* Shows where/when a dialog endsDialog Node
* Creates dialog point
* Options determine which node to go to next### Connections
Creates links between nodes. Nodes cannot be connected to itself and output cannot have multiple connections (inputs may have multiple connections)![](./README/Connection.png)
Click on input or output point to start a connections. Connections will be magenta and will turn white once connected to another point. Click white box to delete connection
### Save/Load/Build
Save
* Creates EditorSaveObject as an asset file
* Used to rebuild canvas for later editing
* EditorSaveObject not used for production, only as a toolLoad
* Loads EditorSaveObject asset fileBuild
* Creates BuildObject asset file
* BuildObject is used for production
* Cannot Load BuildObjects## DNE.BuildObject
BuildObject is used to traverse the dialog. Dialog is traversed only one way.
### Get()
Returns Clone of the BuildObject class. Used if you do not want to edit the asset file.
### Next(string option)
returns next BuildNode in dialog.
returns null if BuildNode is not found or reaches the end
### GetCurrent()
Returns BuildNode class of the current dialog node
### Reset()
Resets class back to the entry dialog node## DNE.BuildNode
Representation of the dialog node
### Title
Returns title of the node
### Clip
Returns AudioClip of the node
### Triggers
Returns List of options