From 4f2683bc129ace3527ade235c7896c72d96708e8 Mon Sep 17 00:00:00 2001 From: SmallMain Date: Mon, 11 Jul 2022 12:18:01 +0800 Subject: [PATCH] =?UTF-8?q?[engine]=20=E6=9B=B4=E5=90=8D=E4=B8=BA=20enhanc?= =?UTF-8?q?e=20kit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- creator-sp.d.ts | 2 +- engine/cocos2d/core/asset-manager/builtins.js | 2 +- engine/cocos2d/core/components/CCLabel.js | 2 +- engine/cocos2d/core/components/CCRichText.js | 2 +- engine/cocos2d/core/components/CCSprite.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ea3d4599..aeb2fae1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -Cocos Service Pack v1.0.0 引擎源码 +Cocos Enhance Kit v1.0.0 引擎源码 适配 v2.4.9 引擎 diff --git a/creator-sp.d.ts b/creator-sp.d.ts index b1a71746..a9fde1b5 100644 --- a/creator-sp.d.ts +++ b/creator-sp.d.ts @@ -1,7 +1,7 @@ declare module cc { /** - * Cocos Creator Service Pack 命名空间 + * Cocos Creator Enhance Kit 命名空间 */ module sp { diff --git a/engine/cocos2d/core/asset-manager/builtins.js b/engine/cocos2d/core/asset-manager/builtins.js index 4456eb12..57aa8c79 100644 --- a/engine/cocos2d/core/asset-manager/builtins.js +++ b/engine/cocos2d/core/asset-manager/builtins.js @@ -102,7 +102,7 @@ var builtins = { _loadMultiEffect(name, cb) { if (CC_EDITOR) { - cc.assetManager.loadAny(Editor.assetdb.remote.urlToUuid('db://service-pack-resources/sp/effects/' + name + '.effect'), function (err, effect) { + cc.assetManager.loadAny(Editor.assetdb.remote.urlToUuid('db://enhance-kit-resources/sp/effects/' + name + '.effect'), function (err, effect) { if (err) { return Editor.error(err); } else { diff --git a/engine/cocos2d/core/components/CCLabel.js b/engine/cocos2d/core/components/CCLabel.js index 9d222191..b3e5402d 100644 --- a/engine/cocos2d/core/components/CCLabel.js +++ b/engine/cocos2d/core/components/CCLabel.js @@ -192,7 +192,7 @@ let Label = cc.Class({ editor: CC_EDITOR && { menu: 'i18n:MAIN_MENU.component.renderers/Label', help: 'i18n:COMPONENT.help_url.label', - inspector: 'packages://service-pack/inspectors/comps/label.js', + inspector: 'packages://enhance-kit/inspectors/comps/label.js', }, properties: { diff --git a/engine/cocos2d/core/components/CCRichText.js b/engine/cocos2d/core/components/CCRichText.js index 11b12963..8d1f0825 100644 --- a/engine/cocos2d/core/components/CCRichText.js +++ b/engine/cocos2d/core/components/CCRichText.js @@ -133,7 +133,7 @@ let RichText = cc.Class({ editor: CC_EDITOR && { menu: 'i18n:MAIN_MENU.component.renderers/RichText', help: 'i18n:COMPONENT.help_url.richtext', - inspector: 'packages://service-pack/inspectors/comps/richtext.js', + inspector: 'packages://enhance-kit/inspectors/comps/richtext.js', executeInEditMode: true }, diff --git a/engine/cocos2d/core/components/CCSprite.js b/engine/cocos2d/core/components/CCSprite.js index 051c7617..869048ef 100644 --- a/engine/cocos2d/core/components/CCSprite.js +++ b/engine/cocos2d/core/components/CCSprite.js @@ -160,7 +160,7 @@ var Sprite = cc.Class({ editor: CC_EDITOR && { menu: 'i18n:MAIN_MENU.component.renderers/Sprite', help: 'i18n:COMPONENT.help_url.sprite', - inspector: 'packages://service-pack/inspectors/comps/sprite.js', + inspector: 'packages://enhance-kit/inspectors/comps/sprite.js', }, properties: {