docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SmartExtensions

    Extensions to support smart format common use cases.

    Inheritance
    object
    SmartExtensions
    Namespace: UnityEngine.Localization.SmartFormat
    Assembly: Unity.Localization.dll
    Syntax
    public static class SmartExtensions

    Methods

    Name Description
    AppendLineSmart(StringBuilder, string, params object[])

    AppendLines a formatted string, using the same semantics as Smart.Format.

    AppendSmart(StringBuilder, string, params object[])

    Appends a formatted string, using the same semantics as Smart.Format.

    FormatSmart(string, params object[])

    Formats the specified arguments using this string as a template.

    FormatSmart(string, ref FormatCache, params object[])

    Formats the specified arguments using this string as a template. Caches the parsing results for increased performance.

    WriteLineSmart(TextWriter, string, params object[])

    Writes out a formatted string, using the same semantics as Smart.Format.

    WriteSmart(TextWriter, string, params object[])

    Writes out a formatted string, using the same semantics as Smart.Format.

    In This Article
    Back to top
    Copyright © 2024 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)