Unity EditorWindow to edit text with TextMeshPro tags with preview, undo, tag parameters
- drop file:
TmpWysiwygUiElementsWindow.cs- to folder:Assets/.../Editor/
- open Window by MenuItem:
Window/TextMeshPro/WYSIWYG Text Editor - paste original text to
Clean text field(first big text field after toolbar) - select there any text part
- in
top most toolbarfill any tag parameters if need toggleanyeffects- visually checkout
previewat middle of window tweakparameters, toggle effects if need- copy TextMeshPro-tagged text from
Result text field pasteit toTextMeshPro-component text field(or to localization table etc)
- EditorWindow
- Ctrl + Z / undo
- preview inside EditorWindow
- select clean text block -> apply/clear any effects
- effects are togglable
- clear all effects button
- intersecting styles
- final result text to copy/paste
- supporting many TextMeshPro tags
- tag parameters
- alpha < 1 make next text blocks to disappear
- inserting
<sprite>tag require text selection (should be text caret position enough) - adding enter-new-lines after editing break character ordering (effects apply with offset)
- installation as UPM-package
- fix known issues
- extract TextMeshPro-tags to continue edit after reboot
- hotkeys