I’ve been playing around with the DialogueTree.
I have a quick question, how do you add more properties to the IStatement, and display the new properties to the graph?
Beside text, audio, and meta, I want to add an enum called Expression that can also be set when I’m creating a Say in the graph
1. Add your new property in IStatement interface located in IStatement.cs; Don’t forget to implement that new property inside Statement class located in the same file.
2. Add a new GUI for the drawer inside StatementDrawer.cs, then assign your property by the GUI. It’s hard to explain, but here’s my code: