docs.unity3d.com
    Show / Hide Table of Contents

    Class DisplayStringFormatAttribute

    Provide a format string to use when creating display strings for instances of the class.

    Inheritance
    Object
    DisplayStringFormatAttribute
    Namespace: UnityEngine.InputSystem.Utilities
    Syntax
    public class DisplayStringFormatAttribute : Attribute

    Constructors

    DisplayStringFormatAttribute(String)

    Declaration
    public DisplayStringFormatAttribute(string formatString)
    Parameters
    Type Name Description
    String formatString

    Properties

    formatString

    Format template string in the form of "{namedPart} verbatimText". All named parts enclosed in curly braces are replaced from context whereas other text is included as is.

    Declaration
    public string formatString { get; set; }
    Property Value
    Type Description
    String
    In This Article
    • Constructors
      • DisplayStringFormatAttribute(String)
    • Properties
      • formatString
    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