docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Smart

    This class holds a Default instance of the SmartFormatter. The default instance has all extensions registered.

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

    Properties

    Name Description
    Default

    The default formatter that is used when no formatter is explicitly used.

    Methods

    Name Description
    CreateDefaultSmartFormat()

    Creates a new formatter with default settings.

    Format(IFormatProvider, string, params object[])

    Replaces one or more format items in a specified string with the string representation of a specific object.

    Format(string, object)

    Replaces one or more format items in a specified string with the string representation of a specific object.

    Format(string, object, object)

    Replaces one or more format items in a specified string with the string representation of a specific object.

    Format(string, object, object, object)

    Replaces one or more format items in a specified string with the string representation of a specific object.

    Format(string, params object[])

    Replaces one or more format items in a specified string with the string representation of a specific object.

    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)