mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-30 21:48:47 +00:00
Update Editor tools
This commit is contained in:
12
Assets/YooAsset/Editor/EditorExtension.cs
Normal file
12
Assets/YooAsset/Editor/EditorExtension.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
#if UNITY_2019_4
|
||||
namespace YooAsset.Editor
|
||||
{
|
||||
public static partial class UnityEngine_UIElements_ListView_Extension
|
||||
{
|
||||
public static void ClearSelection(this UnityEngine.UIElements.ListView o)
|
||||
{
|
||||
o.selectedIndex = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
11
Assets/YooAsset/Editor/EditorExtension.cs.meta
Normal file
11
Assets/YooAsset/Editor/EditorExtension.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e8e4a86c3bd8c8947a947776891e14b1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user