docs.unity3d.com
    Show / Hide Table of Contents

    Smart Settings

    SmartSettings contain the following properties:

    • ConvertCharacterStringLiterals - see description in chapter [[Character Literals in Format Strings]]
    • FormatErrorAction: The way to control how the formatter should deal with errors. It let's you maintain the tokens, ignore, throw an exception or write the error to the output string. The property ErrorAction of class SmartFormatter is depreciated.
    • ParseErrorAction: The way to control how the parser should deal with errors. It let's you maintain the tokens, ignore, throw an exception or write the error to the output string. The property ErrorAction of class Parser is depreciated.
    • CaseSensitivity: Determines whether placeholders are case-sensitive or not.

    SmartSettings are accessible in all parsing and formatting classes. SmartSettings have the scope for each SmartFormatter instance (meaning they are not static).

    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