Class LiteralText | Localization | 0.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class LiteralText

    Represents the literal text that is found in a parsed format string.

    Inheritance
    Object
    FormatItem
    LiteralText
    Inherited Members
    FormatItem.baseString
    FormatItem.endIndex
    FormatItem.SmartSettings
    FormatItem.startIndex
    FormatItem.RawText
    Namespace: UnityEngine.Localization.SmartFormat.Core.Parsing
    Syntax
    public class LiteralText : FormatItem

    Constructors

    LiteralText(SmartSettings, Format)

    Declaration
    public LiteralText(SmartSettings smartSettings, Format parent)
    Parameters
    Type Name Description
    SmartSettings smartSettings
    Format parent

    LiteralText(SmartSettings, Format, Int32)

    Declaration
    public LiteralText(SmartSettings smartSettings, Format parent, int startIndex)
    Parameters
    Type Name Description
    SmartSettings smartSettings
    Format parent
    Int32 startIndex

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    FormatItem.ToString()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023