Skip to content

SimpleRichText is a simple rich text plugin for Unity3D, based on UGUI or NGUI (you can implement custom rich text mode)

License

Notifications You must be signed in to change notification settings

tkokof/SimpleRichText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleRichText

Desc

SimpleRichText is a simple rich text plugin for Unity3D, based on UGUI or NGUI (you can implement custom rich text mode). Both UGUI and NGUI support basic rich text formats, but they are limited, this plugin is aim to enhance their rich text ability (still you can get rid of UGUI or NGUI by implementing your own custom rich text mode)

Usage

Usage is simple :

  • first you need to init rich text : RichTextManager.Init(RichTextManager.Mode.UGUI);

  • then you could add rich elements to rich text by RichText.AddRichElement method, and then call RichText.Format

  • for simple useage, we could create a rich text syntax string to build rich text by using RichTextManager.ParseRichSyntax method

Please check example scenes under [ProjectRoot]/Scenes : test_rich_text_ugui and test_rich_text_ngui

Notice

We do not support NGUI mode by default, you can enable it by adding RICH_TEXT_ENABLE_NGUI macro symbol.

Screenshot

screenshot from test_rich_text_ugui

About

SimpleRichText is a simple rich text plugin for Unity3D, based on UGUI or NGUI (you can implement custom rich text mode)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages