Tetra/Minesweeper/Library/PackageCache/com.unity.localization/Editor/Plugins/UITK/LocalizedStringUxmlSerializedDataPropertyDrawer.cs
2025-05-01 01:48:08 -07:00

16 lines
463 B
C#

#if MODULE_UITK && UNITY_2023_3_OR_NEWER
using UnityEngine.Localization;
using UnityEngine.UIElements;
namespace UnityEditor.Localization.UI
{
[CustomPropertyDrawer(typeof(LocalizedString.UxmlSerializedData), true)]
class LocalizedStringUxmlSerializedDataPropertyDrawer : PropertyDrawer
{
public override VisualElement CreatePropertyGUI(SerializedProperty property) => new LocalizedStringField("Localized String", property);
}
}
#endif