A game about forced loneliness, made by TACStudios
1using System;
2
3namespace UnityEngine.InputSystem.Utilities
4{
5 /// <summary>
6 /// Provide a format string to use when creating display strings for instances of the class.
7 /// </summary>
8 [AttributeUsage(AttributeTargets.Class, Inherited = true)]
9 public class DisplayStringFormatAttribute : Attribute
10 {
11 /// <summary>
12 /// Format template string in the form of "{namedPart} verbatimText". All named parts enclosed in
13 /// curly braces are replaced from context whereas other text is included as is.
14 /// </summary>
15 public string formatString { get; set; }
16
17 public DisplayStringFormatAttribute(string formatString)
18 {
19 this.formatString = formatString;
20 }
21 }
22}