snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.59k stars 291 forks source link

TextMesh Pro Sprite Rich Text Support #979

Closed addie-lombardo closed 3 years ago

addie-lombardo commented 3 years ago

Is your feature request related to a problem? Please describe.

I'm currently trying to implement support for TextMesh Pro's inline sprites but am stuck on how to append the text I've generated to appear in the final string that appears on screen because it does not requite a open and close tag (ex. <size> </size>)

Describe the solution you'd like

Inline sprites should render without requiring the Writer to print out the full rich text string image

Additional context

rider64_UcdnnFTZcL
breadnone commented 3 years ago

bcos Fungus expecting a Close markup if it detects the open-markup when DoWord gets executed. If it's for a PR, you can add your own condition just for that, I think

addie-lombardo commented 3 years ago

Closing this due to it working in the latest version of Fungus!

new behaviour