UTKShortcutList 개발 완료. Modal 개선
This commit is contained in:
42
Assets/Scripts/UVC/UIToolkit/List/UTKShortcutItemData.cs
Normal file
42
Assets/Scripts/UVC/UIToolkit/List/UTKShortcutItemData.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
#nullable enable
|
||||
|
||||
namespace UVC.UIToolkit
|
||||
{
|
||||
/// <summary>
|
||||
/// 단축키 아이템 데이터.
|
||||
/// <see cref="UTKShortcutList"/>의 각 행에 대한 데이터를 담습니다.
|
||||
/// </summary>
|
||||
/// <example>
|
||||
/// <code>
|
||||
/// var data = new UTKShortcutItemData
|
||||
/// {
|
||||
/// Id = "file.new_project",
|
||||
/// CommandName = "File > New Project",
|
||||
/// UseCtrl = true,
|
||||
/// UseShift = false,
|
||||
/// UseAlt = false,
|
||||
/// Key = "N"
|
||||
/// };
|
||||
/// </code>
|
||||
/// </example>
|
||||
public class UTKShortcutItemData
|
||||
{
|
||||
/// <summary>단축키 고유 ID (예: "file.new_project")</summary>
|
||||
public string Id { get; set; } = "";
|
||||
|
||||
/// <summary>표시 명령 이름 (예: "File > New Project")</summary>
|
||||
public string CommandName { get; set; } = "";
|
||||
|
||||
/// <summary>Ctrl 키 사용 여부</summary>
|
||||
public bool UseCtrl { get; set; }
|
||||
|
||||
/// <summary>Shift 키 사용 여부</summary>
|
||||
public bool UseShift { get; set; }
|
||||
|
||||
/// <summary>Alt 키 사용 여부</summary>
|
||||
public bool UseAlt { get; set; }
|
||||
|
||||
/// <summary>주요 키 표시 텍스트 (예: "N", "Delete", "F1")</summary>
|
||||
public string Key { get; set; } = "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user