UIToolkit Sample uxml로 전환
This commit is contained in:
@@ -60,6 +60,7 @@ namespace UVC.UIToolkit
|
||||
|
||||
#region Properties
|
||||
/// <summary>메시지 텍스트</summary>
|
||||
[UxmlAttribute("text")]
|
||||
public string Message
|
||||
{
|
||||
get => text;
|
||||
@@ -67,7 +68,8 @@ namespace UVC.UIToolkit
|
||||
}
|
||||
|
||||
/// <summary>메시지 타입</summary>
|
||||
public new HelpBoxMessageType messageType
|
||||
[UxmlAttribute("message-type")]
|
||||
public new HelpBoxMessageType MessageType
|
||||
{
|
||||
get => base.messageType;
|
||||
set
|
||||
@@ -95,8 +97,8 @@ namespace UVC.UIToolkit
|
||||
|
||||
public UTKHelpBox(string message, HelpBoxMessageType type = HelpBoxMessageType.Info) : this()
|
||||
{
|
||||
text = message;
|
||||
messageType = type;
|
||||
Message = message;
|
||||
MessageType = type;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#nullable enable
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace UVC.UIToolkit.Common
|
||||
namespace UVC.UIToolkit
|
||||
{
|
||||
/// <summary>
|
||||
/// VisualElement에 대한 툴팁 확장 메서드
|
||||
|
||||
@@ -7,7 +7,7 @@ using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using UVC.Locale;
|
||||
|
||||
namespace UVC.UIToolkit.Common
|
||||
namespace UVC.UIToolkit
|
||||
{
|
||||
/// <summary>
|
||||
/// UIToolkit 기반 툴팁 매니저
|
||||
|
||||
Reference in New Issue
Block a user