mirror of https://github.com/tuyoogame/YooAsset
Merge 02250c3352
into e76a782a80
commit
5061439c96
|
@ -205,7 +205,9 @@ namespace YooAsset.Editor
|
||||||
_packageListView = root.Q<ListView>("PackageListView");
|
_packageListView = root.Q<ListView>("PackageListView");
|
||||||
_packageListView.makeItem = MakePackageListViewItem;
|
_packageListView.makeItem = MakePackageListViewItem;
|
||||||
_packageListView.bindItem = BindPackageListViewItem;
|
_packageListView.bindItem = BindPackageListViewItem;
|
||||||
#if UNITY_2020_1_OR_NEWER
|
#if UNITY_2022_3_OR_NEWER
|
||||||
|
_packageListView.selectionChanged += PackageListView_onSelectionChange;
|
||||||
|
#elif UNITY_2020_1_OR_NEWER
|
||||||
_packageListView.onSelectionChange += PackageListView_onSelectionChange;
|
_packageListView.onSelectionChange += PackageListView_onSelectionChange;
|
||||||
#else
|
#else
|
||||||
_packageListView.onSelectionChanged += PackageListView_onSelectionChange;
|
_packageListView.onSelectionChanged += PackageListView_onSelectionChange;
|
||||||
|
@ -250,7 +252,9 @@ namespace YooAsset.Editor
|
||||||
_groupListView = root.Q<ListView>("GroupListView");
|
_groupListView = root.Q<ListView>("GroupListView");
|
||||||
_groupListView.makeItem = MakeGroupListViewItem;
|
_groupListView.makeItem = MakeGroupListViewItem;
|
||||||
_groupListView.bindItem = BindGroupListViewItem;
|
_groupListView.bindItem = BindGroupListViewItem;
|
||||||
#if UNITY_2020_1_OR_NEWER
|
#if UNITY_2022_3_OR_NEWER
|
||||||
|
_groupListView.selectionChanged += GroupListView_onSelectionChange;
|
||||||
|
#elif UNITY_2020_1_OR_NEWER
|
||||||
_groupListView.onSelectionChange += GroupListView_onSelectionChange;
|
_groupListView.onSelectionChange += GroupListView_onSelectionChange;
|
||||||
#else
|
#else
|
||||||
_groupListView.onSelectionChanged += GroupListView_onSelectionChange;
|
_groupListView.onSelectionChanged += GroupListView_onSelectionChange;
|
||||||
|
|
|
@ -35,7 +35,9 @@ namespace YooAsset.Editor
|
||||||
_assetListView = _root.Q<ListView>("TopListView");
|
_assetListView = _root.Q<ListView>("TopListView");
|
||||||
_assetListView.makeItem = MakeAssetListViewItem;
|
_assetListView.makeItem = MakeAssetListViewItem;
|
||||||
_assetListView.bindItem = BindAssetListViewItem;
|
_assetListView.bindItem = BindAssetListViewItem;
|
||||||
#if UNITY_2020_1_OR_NEWER
|
#if UNITY_2022_3_OR_NEWER
|
||||||
|
_assetListView.selectionChanged += AssetListView_onSelectionChange;
|
||||||
|
#elif UNITY_2020_1_OR_NEWER
|
||||||
_assetListView.onSelectionChange += AssetListView_onSelectionChange;
|
_assetListView.onSelectionChange += AssetListView_onSelectionChange;
|
||||||
#else
|
#else
|
||||||
_assetListView.onSelectionChanged += AssetListView_onSelectionChange;
|
_assetListView.onSelectionChanged += AssetListView_onSelectionChange;
|
||||||
|
|
|
@ -35,7 +35,9 @@ namespace YooAsset.Editor
|
||||||
_bundleListView = _root.Q<ListView>("TopListView");
|
_bundleListView = _root.Q<ListView>("TopListView");
|
||||||
_bundleListView.makeItem = MakeBundleListViewItem;
|
_bundleListView.makeItem = MakeBundleListViewItem;
|
||||||
_bundleListView.bindItem = BindBundleListViewItem;
|
_bundleListView.bindItem = BindBundleListViewItem;
|
||||||
#if UNITY_2020_1_OR_NEWER
|
#if UNITY_2022_3_OR_NEWER
|
||||||
|
_bundleListView.selectionChanged += BundleListView_onSelectionChange;
|
||||||
|
#elif UNITY_2020_1_OR_NEWER
|
||||||
_bundleListView.onSelectionChange += BundleListView_onSelectionChange;
|
_bundleListView.onSelectionChange += BundleListView_onSelectionChange;
|
||||||
#else
|
#else
|
||||||
_bundleListView.onSelectionChanged += BundleListView_onSelectionChange;
|
_bundleListView.onSelectionChanged += BundleListView_onSelectionChange;
|
||||||
|
|
|
@ -58,7 +58,9 @@ namespace YooAsset.Editor
|
||||||
_assetListView = _root.Q<ListView>("TopListView");
|
_assetListView = _root.Q<ListView>("TopListView");
|
||||||
_assetListView.makeItem = MakeAssetListViewItem;
|
_assetListView.makeItem = MakeAssetListViewItem;
|
||||||
_assetListView.bindItem = BindAssetListViewItem;
|
_assetListView.bindItem = BindAssetListViewItem;
|
||||||
#if UNITY_2020_1_OR_NEWER
|
#if UNITY_2022_3_OR_NEWER
|
||||||
|
_assetListView.selectionChanged += AssetListView_onSelectionChange;
|
||||||
|
#elif UNITY_2020_1_OR_NEWER
|
||||||
_assetListView.onSelectionChange += AssetListView_onSelectionChange;
|
_assetListView.onSelectionChange += AssetListView_onSelectionChange;
|
||||||
#else
|
#else
|
||||||
_assetListView.onSelectionChanged += AssetListView_onSelectionChange;
|
_assetListView.onSelectionChanged += AssetListView_onSelectionChange;
|
||||||
|
|
|
@ -66,7 +66,9 @@ namespace YooAsset.Editor
|
||||||
_bundleListView = _root.Q<ListView>("TopListView");
|
_bundleListView = _root.Q<ListView>("TopListView");
|
||||||
_bundleListView.makeItem = MakeBundleListViewItem;
|
_bundleListView.makeItem = MakeBundleListViewItem;
|
||||||
_bundleListView.bindItem = BindBundleListViewItem;
|
_bundleListView.bindItem = BindBundleListViewItem;
|
||||||
#if UNITY_2020_1_OR_NEWER
|
#if UNITY_2022_3_OR_NEWER
|
||||||
|
_bundleListView.selectionChanged += BundleListView_onSelectionChange;
|
||||||
|
#elif UNITY_2020_1_OR_NEWER
|
||||||
_bundleListView.onSelectionChange += BundleListView_onSelectionChange;
|
_bundleListView.onSelectionChange += BundleListView_onSelectionChange;
|
||||||
#else
|
#else
|
||||||
_bundleListView.onSelectionChanged += BundleListView_onSelectionChange;
|
_bundleListView.onSelectionChanged += BundleListView_onSelectionChange;
|
||||||
|
|
Loading…
Reference in New Issue