UI 자동화를 위해 바인딩 기능 구현
- 유니티 에셋 인증 오류로 meta 재생성
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user