docs.unity.cn
    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
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, January 5, 2022
    Terms of use