docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    X Element Formatter

    Use the X Element Formatter to write the contents of XElement values into the format string.

    Diagram showing the breakdown of the Smart String and how each part is evaluated.

    Example Smart String Arguments Result
    {0:xml()} <xml><value>some value</value><tag>some other value</tag></xml> Somevaluesome other value
    {0.value} Some value
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)