Firstborn/Library/PackageCache/com.unity.inputsystem@1.5.1/InputSystem/Utilities/DisplayStringFormatAttribut...
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

23 lines
751 B
C#

using System;
namespace UnityEngine.InputSystem.Utilities
{
/// <summary>
/// Provide a format string to use when creating display strings for instances of the class.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
public class DisplayStringFormatAttribute : Attribute
{
/// <summary>
/// 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.
/// </summary>
public string formatString { get; set; }
public DisplayStringFormatAttribute(string formatString)
{
this.formatString = formatString;
}
}
}