pull/186/head^2
hevinci 2023-09-25 12:18:55 +08:00
parent 49b188964c
commit 101960f6d8
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ namespace UnityEditor.Build.Pipeline.Tasks
/// <inheritdoc /> /// <inheritdoc />
public ReturnCode Run() public ReturnCode Run()
{ {
#if UNITY_2020_3_OR_NEWER
BundleWriteData writeData = (BundleWriteData)writeDataParam; BundleWriteData writeData = (BundleWriteData)writeDataParam;
// 所有图集散图的 guid 集合 // 所有图集散图的 guid 集合
@ -63,6 +64,7 @@ namespace UnityEditor.Build.Pipeline.Tasks
} }
} }
} }
#endif
return ReturnCode.Success; return ReturnCode.Success;
} }

View File

@ -333,6 +333,7 @@ namespace YooAsset.Editor
_showEditorAliasToggle.SetValueWithoutNotify(AssetBundleCollectorSettingData.Setting.ShowEditorAlias); _showEditorAliasToggle.SetValueWithoutNotify(AssetBundleCollectorSettingData.Setting.ShowEditorAlias);
// 警示框 // 警示框
#if UNITY_2020_3_OR_NEWER
_helpBoxContainer.Clear(); _helpBoxContainer.Clear();
if (_enableAddressableToogle.value && _locationToLowerToogle.value) if (_enableAddressableToogle.value && _locationToLowerToogle.value)
{ {
@ -348,6 +349,7 @@ namespace YooAsset.Editor
_helpBoxContainer.style.display = DisplayStyle.Flex; _helpBoxContainer.style.display = DisplayStyle.Flex;
else else
_helpBoxContainer.style.display = DisplayStyle.None; _helpBoxContainer.style.display = DisplayStyle.None;
#endif
// 设置栏 // 设置栏
if (_showSettings) if (_showSettings)