Class LiteralTextTests | Localization | 0.6.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class LiteralTextTests

    Settings.ConvertCharacterStringLiterals is required, if the format string does not come from code but from a file (e.g. a resource): While in case of code all character literals are converted to Unicode by the compiler, SmartFormat can do the conversion in case of strings coming from a file.

    Inheritance
    Object
    LiteralTextTests
    Namespace: UnityEngine.Localization.SmartFormat.Tests.Core
    Syntax
    public class LiteralTextTests

    Methods

    AllSupportedCharacterLiteralsAsUnicode()

    Declaration
    public void AllSupportedCharacterLiteralsAsUnicode()

    ConvertCharacterLiteralsToUnicodeWithListFormatter()

    Declaration
    public void ConvertCharacterLiteralsToUnicodeWithListFormatter()

    FormatCharacterLiteralsAsString()

    Declaration
    public void FormatCharacterLiteralsAsString()

    IllegalEscapeSequenceThrowsException()

    Declaration
    public void IllegalEscapeSequenceThrowsException()
    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