mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-26 03:38:29 +00:00
[engine] 优化当支持性扩展没有正确安装时的错误日志
This commit is contained in:
parent
a14c457602
commit
d6fb7f841b
@ -104,7 +104,8 @@ var builtins = {
|
||||
if (CC_EDITOR) {
|
||||
cc.assetManager.loadAny(Editor.assetdb.remote.urlToUuid('db://enhance-kit-resources/sp/effects/' + name + '.effect'), function (err, effect) {
|
||||
if (err) {
|
||||
return Editor.error(err);
|
||||
Editor.error("Please check if the supporting extension is installed correctly.");
|
||||
Editor.error(err);
|
||||
} else {
|
||||
cb(effect);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user