A downloadable asset pack

RichString is a runtime string interpolation solution for Unity, designed to dynamically format and update text at runtime. Whether you're referencing object properties, accessing list elements, or applying rich text formatting, RichString provides a flexible, customizable approach to handling text in your projects. This tool is ideal for displaying dynamic in-game text that needs to respond to changing data.

Key Features:

  • Runtime String Interpolation: Format and update strings dynamically based on in-game data.
  • Custom Formatting Support: Implement your own formatting rules with the IRichStringCustomFormat interface.
  • Rich Text Integration: Supports bold, italic, underline, color, and more, with customizable specifiers.
  • Property Referencing: Access object properties easily within your strings, including nested properties.
  • IEnumerable Access: Directly reference and display elements from collections (like arrays and lists) in your text.
  • RichReference Attribute: Streamlines property referencing with copy buttons and customizable display options.
  • Configurable Error Handling: Choose between warnings or errors when issues occur during parsing.

This project is open source and available on GitHub, where you can contribute, report issues, and access the full source code.

Published 9 days ago
StatusReleased
CategoryAssets
AuthorAura
Tagstool, utility

Download

Download
RichString 1.0.0.zip 1.3 MB

Install instructions

Manual (Unity Package)

Download the latest release from the GitHub releases page. Simply extract the files and place the RichString folder anywhere in your Unity project’s Assets directory. Done!

Leave a comment

Log in with itch.io to leave a comment.