mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Compare commits
2 Commits
yoo2.2.9
...
TEngine5.0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
aad8ff3ee5 | ||
![]() |
df25a1adad |
@@ -20,7 +20,7 @@ namespace TEngine
|
|||||||
private void OnLoadAssetFailure(string assetName, LoadResourceStatus status, string errormessage, object userdata)
|
private void OnLoadAssetFailure(string assetName, LoadResourceStatus status, string errormessage, object userdata)
|
||||||
{
|
{
|
||||||
_assetLoadingList.Remove(assetName);
|
_assetLoadingList.Remove(assetName);
|
||||||
Log.Error("Can not load asset from '{1}' with error message '{2}'.", assetName, errormessage);
|
Log.Error("Can not load asset from '{0}' with error message '{1}'.", assetName, errormessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnLoadAssetSuccess(string assetName, object asset, float duration, object userdata)
|
private void OnLoadAssetSuccess(string assetName, object asset, float duration, object userdata)
|
||||||
|
@@ -33,6 +33,14 @@ namespace YooAsset.Editor
|
|||||||
if (AssetDatabase.IsValidFolder(assetInfo.AssetPath))
|
if (AssetDatabase.IsValidFolder(assetInfo.AssetPath))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
// 忽略编辑器图标资源
|
||||||
|
if (assetInfo.AssetPath.Contains("/Gizmos/"))
|
||||||
|
return true;
|
||||||
|
|
||||||
|
// 忽略编辑器专属资源
|
||||||
|
if (assetInfo.AssetPath.Contains("/Editor/") || assetInfo.AssetPath.Contains("/Editor Resources/"))
|
||||||
|
return true;
|
||||||
|
|
||||||
// 忽略编辑器下的类型资源
|
// 忽略编辑器下的类型资源
|
||||||
if (assetInfo.AssetType == typeof(LightingDataAsset))
|
if (assetInfo.AssetType == typeof(LightingDataAsset))
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user