Editor Tool: Mass Dialog Editing
I had to quickly revise dialogs in individual scenes and I was too lazy to go through all the action lists and check the individual ActionSpeech nodes, so I quickly wrote up a tool that gives me access to all the ActionSpeech in any ActionList in the currently opened scene. It lets me inspect and edit them, Also supports filtering. May be fit for heavy extending with more custom functionality if required (search & replace, removing double newlines, ...)!
Comments
I got an error in Unity:
Assets/Editor/SpeechActionMassEditor.cs(239,46): error CS0117: `UnityEditor.Undo' does not contain a definition for `SetCurrentGroupName'
And Speech Line Mass Editor didn't show in the Window menu.
So I just commented out that section, lines 237-245, and now it shows up and runs.
No big deal, the tool works great! It's a big help correcting typos.
Thanks to zsoi for making such a great tool! I'd like to share my slight modification of the editor:
https://github.com/RekizeLeung/Unity-Adventure-Creator-SpeechAction-Mass-Editor/blob/master/SpeechActionMassEditor.cs
I added the display column of the SpeechOrder string; as well as sorting the SpeechLines by the SpeechOrder string. Which I found made my life easier when editing the speechlines.
Before using, please do the "Gather text" operation in the AC Speech Manager.