mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-25 03:08:29 +00:00
[engine] 更名为 enhance kit
This commit is contained in:
parent
17658a10d9
commit
4f2683bc12
@ -1,3 +1,3 @@
|
|||||||
Cocos Service Pack v1.0.0 引擎源码
|
Cocos Enhance Kit v1.0.0 引擎源码
|
||||||
|
|
||||||
适配 v2.4.9 引擎
|
适配 v2.4.9 引擎
|
||||||
|
2
creator-sp.d.ts
vendored
2
creator-sp.d.ts
vendored
@ -1,7 +1,7 @@
|
|||||||
declare module cc {
|
declare module cc {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cocos Creator Service Pack 命名空间
|
* Cocos Creator Enhance Kit 命名空间
|
||||||
*/
|
*/
|
||||||
module sp {
|
module sp {
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ var builtins = {
|
|||||||
|
|
||||||
_loadMultiEffect(name, cb) {
|
_loadMultiEffect(name, cb) {
|
||||||
if (CC_EDITOR) {
|
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) {
|
if (err) {
|
||||||
return Editor.error(err);
|
return Editor.error(err);
|
||||||
} else {
|
} else {
|
||||||
|
@ -192,7 +192,7 @@ let Label = cc.Class({
|
|||||||
editor: CC_EDITOR && {
|
editor: CC_EDITOR && {
|
||||||
menu: 'i18n:MAIN_MENU.component.renderers/Label',
|
menu: 'i18n:MAIN_MENU.component.renderers/Label',
|
||||||
help: 'i18n:COMPONENT.help_url.label',
|
help: 'i18n:COMPONENT.help_url.label',
|
||||||
inspector: 'packages://service-pack/inspectors/comps/label.js',
|
inspector: 'packages://enhance-kit/inspectors/comps/label.js',
|
||||||
},
|
},
|
||||||
|
|
||||||
properties: {
|
properties: {
|
||||||
|
@ -133,7 +133,7 @@ let RichText = cc.Class({
|
|||||||
editor: CC_EDITOR && {
|
editor: CC_EDITOR && {
|
||||||
menu: 'i18n:MAIN_MENU.component.renderers/RichText',
|
menu: 'i18n:MAIN_MENU.component.renderers/RichText',
|
||||||
help: 'i18n:COMPONENT.help_url.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
|
executeInEditMode: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ var Sprite = cc.Class({
|
|||||||
editor: CC_EDITOR && {
|
editor: CC_EDITOR && {
|
||||||
menu: 'i18n:MAIN_MENU.component.renderers/Sprite',
|
menu: 'i18n:MAIN_MENU.component.renderers/Sprite',
|
||||||
help: 'i18n:COMPONENT.help_url.sprite',
|
help: 'i18n:COMPONENT.help_url.sprite',
|
||||||
inspector: 'packages://service-pack/inspectors/comps/sprite.js',
|
inspector: 'packages://enhance-kit/inspectors/comps/sprite.js',
|
||||||
},
|
},
|
||||||
|
|
||||||
properties: {
|
properties: {
|
||||||
|
Loading…
Reference in New Issue
Block a user