Fix: UnsignedIntegerField to UnsignedLongField for ulong Type

This commit is contained in:
Akeit0 2024-02-27 11:18:40 +09:00
parent 55e9495c88
commit d6ead526bf

View File

@ -127,7 +127,7 @@ namespace Alchemy.Editor.Elements
else if (type == typeof(ulong)) else if (type == typeof(ulong))
{ {
#if UNITY_2022_2_OR_NEWER #if UNITY_2022_2_OR_NEWER
AddField(new UnsignedIntegerField(label), (ulong)obj); AddField(new UnsignedLongField(label), (ulong)obj);
#else #else
var value = (ulong)obj; var value = (ulong)obj;
var control = new LongField(label); var control = new LongField(label);