docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XElementFormatter

    Provides the ability to write the contents of XElement values into a format string.

    Inheritance
    object
    FormatterBase
    XElementFormatter
    Implements
    IFormatter
    ISerializationCallbackReceiver
    Inherited Members
    FormatterBase.Names
    Namespace: UnityEngine.Localization.SmartFormat.Extensions
    Assembly: Unity.Localization.dll
    Syntax
    [Serializable]
    public class XElementFormatter : FormatterBase, IFormatter, ISerializationCallbackReceiver

    Constructors

    Name Description
    XElementFormatter()

    Creates a new instance of the formatter.

    Properties

    Name Description
    DefaultNames

    Default names to use when Names is null.

    Methods

    Name Description
    TryEvaluateFormat(IFormattingInfo)

    Writes the current value to the output, using the specified format. IF this extension cannot write the value, returns false, otherwise true.

    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)