Set up UI for a given node, preferably in edit mode?
Posted: Wed Oct 11, 2023 10:38 am
Hi there!
I'm working on automation for taking screenshots of every single conversation node. My aim is to write an automation script that goes through all nodes in a conversation and renders the relevant UI as it would appear in-game.
I have two related questions:
1. How do I tell Dialogue System to jump to a specific node without progressing through the entire tree? There are some cases where nodes have dependencies to a previous node, eg. a previously-set background, but they aren't game-spanning and it should be possible to collapse them.
2. How would I go about rendering StandardDialogueUI (ie. building the canvas) in Edit Mode? This would significantly speed up automation compared to running in Play Mode.
Edit: I'm happy to edit the source code if necessary, though if this can be avoided, it'll make maintenance easier.
Thanks!
I'm working on automation for taking screenshots of every single conversation node. My aim is to write an automation script that goes through all nodes in a conversation and renders the relevant UI as it would appear in-game.
I have two related questions:
1. How do I tell Dialogue System to jump to a specific node without progressing through the entire tree? There are some cases where nodes have dependencies to a previous node, eg. a previously-set background, but they aren't game-spanning and it should be possible to collapse them.
2. How would I go about rendering StandardDialogueUI (ie. building the canvas) in Edit Mode? This would significantly speed up automation compared to running in Play Mode.
Edit: I'm happy to edit the source code if necessary, though if this can be avoided, it'll make maintenance easier.
Thanks!