Files
TEngine/UnityProject/Packages/YooAsset/Editor/UxmlExtension.cs
ALEXTANG 17a5d7425c 更新Demo
更新Demo
2023-12-20 12:14:27 +08:00

25 lines
450 B
C#

namespace YooAsset.Editor
{
#if UNITY_2019
public static partial class UnityEngine_UIElements_ListView_Extension
{
public static void ClearSelection(this UnityEngine.UIElements.ListView o)
{
o.selectedIndex = -1;
}
}
#endif
#if UNITY_2019 || UNITY_2020
public static partial class UnityEngine_UIElements_ListView_Extension
{
public static void Rebuild(this UnityEngine.UIElements.ListView o)
{
o.Refresh();
}
}
#endif
}