Class DisplayStringFormatAttribute
Provide a format string to use when creating display strings for instances of the class.
Inherited Members
Namespace: UnityEngine.InputSystem.Utilities
Assembly: Unity.InputSystem.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
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 |