Can we get the TextGenerator open sourced?

I’m been having a really hard time getting text within Unity to behave in a consistent manner, and just like with the UI classes it would be very nice to be able to modify the TextGenerator to fit my needs instead of trying to find hacks and workarounds for it’s limited behavior.

It would be very beneficial to have the source of the TextGenerator available in the same way the UI source is, giving us the ability to modify the class to fit our own needs.

An example of some behavior I would like to personally add in is the ability to display formatted text, while excluding the <color=red> brackets (and all other brackets) from the actual text itself. Instead holding onto the formatting as metadata of the text either in a flat list, or a tree structure. The text itself is just cleaned by a parser I made and the meta data stored in sections that can be associated with the text at any time.

No TextGenerator is a native class and you’d have no way to build your modifications.

Ah I see. Too bad, was hoping it was a C# class.

I appreciate the reply Phil, it’s nice to see Unity staff showing a presence on the forums.