mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-01-27 21:31:02 +00:00
1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8423],{3905:function(e,t,n){n.d(t,{Zo:function(){return s},kt:function(){return m}});var a=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=a.createContext({}),p=function(e){var t=a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},s=function(e){var t=p(e.components);return a.createElement(c.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,i=e.originalType,c=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),d=p(n),m=r,k=d["".concat(c,".").concat(m)]||d[m]||u[m]||i;return n?a.createElement(k,o(o({ref:t},s),{},{components:n})):a.createElement(k,o({ref:t},s))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var i=n.length,o=new Array(i);o[0]=d;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:r,o[1]=l;for(var p=2;p<i;p++)o[p]=n[p];return a.createElement.apply(null,o)}return a.createElement.apply(null,n)}d.displayName="MDXCreateElement"},5670:function(e,t,n){n.r(t),n.d(t,{assets:function(){return s},contentTitle:function(){return c},default:function(){return m},frontMatter:function(){return l},metadata:function(){return p},toc:function(){return u}});var a=n(7462),r=n(3366),i=(n(7294),n(3905)),o=["components"],l={sidebar_position:1,description:"\u63a8\u8350\u4f7f\u7528\u6b64\u65b9\u5f0f\u8fdb\u884c\u4e00\u952e\u5b89\u88c5\u3002"},c="\u4f7f\u7528\u5f15\u64ce\u6269\u5c55\u5b89\u88c5",p={unversionedId:"installation-guide/installation-engine-plugin",id:"installation-guide/installation-engine-plugin",title:"\u4f7f\u7528\u5f15\u64ce\u6269\u5c55\u5b89\u88c5",description:"\u63a8\u8350\u4f7f\u7528\u6b64\u65b9\u5f0f\u8fdb\u884c\u4e00\u952e\u5b89\u88c5\u3002",source:"@site/docs/installation-guide/installation-engine-plugin.md",sourceDirName:"installation-guide",slug:"/installation-guide/installation-engine-plugin",permalink:"/cocos-service-pack/docs/installation-guide/installation-engine-plugin",draft:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"\u63a8\u8350\u4f7f\u7528\u6b64\u65b9\u5f0f\u8fdb\u884c\u4e00\u952e\u5b89\u88c5\u3002"},sidebar:"tutorialSidebar",previous:{title:"\u5b89\u88c5\u6307\u5357",permalink:"/cocos-service-pack/docs/installation-guide/installation-intro"},next:{title:"\u624b\u52a8\u5b89\u88c5",permalink:"/cocos-service-pack/docs/installation-guide/installation-manual"}},s={},u=[{value:"\u524d\u5f80 Cocos Store \u4e0b\u8f7d",id:"\u524d\u5f80-cocos-store-\u4e0b\u8f7d",level:2},{value:"\u4e00\u952e\u5b89\u88c5",id:"\u4e00\u952e\u5b89\u88c5",level:2},{value:"\u652f\u6301\u7684\u5f15\u64ce\u7248\u672c",id:"\u652f\u6301\u7684\u5f15\u64ce\u7248\u672c",level:2}],d={toc:u};function m(e){var t=e.components,l=(0,r.Z)(e,o);return(0,i.kt)("wrapper",(0,a.Z)({},d,l,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"\u4f7f\u7528\u5f15\u64ce\u6269\u5c55\u5b89\u88c5"},"\u4f7f\u7528\u5f15\u64ce\u6269\u5c55\u5b89\u88c5"),(0,i.kt)("hr",null),(0,i.kt)("h2",{id:"\u524d\u5f80-cocos-store-\u4e0b\u8f7d"},"\u524d\u5f80 Cocos Store \u4e0b\u8f7d"),(0,i.kt)("p",null,(0,i.kt)("strong",{parentName:"p"},"\u8fd9\u4e2a\u6269\u5c55\u552f\u4e00\u7684\u4f5c\u7528\u5c31\u662f\u5e2e\u52a9\u4f60\u7ba1\u7406\u670d\u52a1\u5305\u7684\u7248\u672c\uff08\u67e5\u770b\u5df2\u5b89\u88c5\u7248\u672c\u3001\u5b89\u88c5\u3001\u5378\u8f7d\uff09\u3002")),(0,i.kt)("p",null,"\u5728 Cocos Store \u641c\u7d22\u540d\u4e3a ",(0,i.kt)("strong",{parentName:"p"},"Cocos Service Pack")," \u7684\u5f15\u64ce\u6269\u5c55\uff0c\u6216\u8005 ",(0,i.kt)("a",{parentName:"p",href:"pathname://TODO"},"\u70b9\u6b64\u8df3\u8f6c"),"\u3002"),(0,i.kt)("p",null,"\u4f60\u9700\u8981\u82b1\u8d39 \xa513.14 \u4e0b\u8f7d\u5e76\u5b89\u88c5\u8fd9\u4e2a\u6269\u5c55\u3002"),(0,i.kt)("div",{className:"admonition admonition-tip alert alert--success"},(0,i.kt)("div",{parentName:"div",className:"admonition-heading"},(0,i.kt)("h5",{parentName:"div"},(0,i.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,i.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,i.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))),"\u5e38\u89c1\u95ee\u9898")),(0,i.kt)("div",{parentName:"div",className:"admonition-content"},(0,i.kt)("ul",{parentName:"div"},(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},"Service Pack \u4e0d\u662f\u5f00\u6e90\u9879\u76ee\u5417\uff1f\uff1f\uff1f")),(0,i.kt)("p",{parentName:"li"}," Service Pack \u662f\u5b8c\u5168\u5f00\u6e90\u7684\u9879\u76ee\uff0c\u6d89\u53ca\u5230\u5f15\u64ce\u7684\u6bcf\u4e2a\u4fee\u6539\u6211\u4eec\u90fd\u5f00\u653e\u6e90\u7801\u5e76\u63d0\u4f9b\u539f\u7406\u6587\u6863\u3002"),(0,i.kt)("p",{parentName:"li"}," \u8fd9\u4e2a\u5f15\u64ce\u6269\u5c55\u53ea\u4f1a\u4e3a\u4f60\u63d0\u4f9b\u81ea\u52a8\u5316\u7684\u5b89\u88c5\u65b9\u5f0f\uff0c\u5373\u4f7f\u4ee5\u540e\u4e5f\u53ea\u4f1a\u6dfb\u52a0\u7248\u672c\u7ba1\u7406\u65b9\u9762\u7684\u529f\u80fd\u3002"),(0,i.kt)("p",{parentName:"li"}," \u4f60\u53ef\u4ee5\u9009\u62e9\u8fd9\u91cc\u7684 ",(0,i.kt)("a",{parentName:"p",href:"/cocos-service-pack/docs/installation-guide/installation-manual"},"\u624b\u52a8\u5b89\u88c5"),"\uff0c\u4e5f\u53ea\u9700\u8981\u51e0\u5206\u949f\u5373\u53ef\u5b8c\u6210\u3002")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("p",{parentName:"li"},(0,i.kt)("strong",{parentName:"p"},"\u5982\u4f55\u53cd\u9988\u6709\u5173\u8fd9\u4e2a\u6269\u5c55\u7684\u95ee\u9898\u6216\u5efa\u8bae")),(0,i.kt)("p",{parentName:"li"}," \u82e5\u9047\u5230\u4e0e\u8fd9\u4e2a\u6269\u5c55\u76f8\u5173\u7684\u95ee\u9898\u6216\u8005\u5efa\u8bae\uff0c\u8bf7\u4e0d\u8981\u5728 Cocos Service Pack \u7684\u4ed3\u5e93\u53cd\u9988\uff0c\u800c\u662f\u5728\u6269\u5c55\u7684 ",(0,i.kt)("strong",{parentName:"p"},"\u5546\u5e97\u8bc4\u8bba\u533a")," \u8fdb\u884c\u53cd\u9988\u3002"),(0,i.kt)("p",{parentName:"li"}," \u56e0\u4e3a\u8fd9\u4e2a\u6269\u5c55\u7684\u6536\u76ca\u662f\u4e2a\u4eba\u7684\uff0c\u6240\u4ee5\u4e5f\u53ea\u7531\u4e2a\u4eba\u7ef4\u62a4\u3002"))))),(0,i.kt)("hr",null),(0,i.kt)("h2",{id:"\u4e00\u952e\u5b89\u88c5"},"\u4e00\u952e\u5b89\u88c5"),(0,i.kt)("p",null,"\u5728 Cocos Creator \u7684\u83dc\u5355\u680f\u4f9d\u6b21\u70b9\u51fb ",(0,i.kt)("strong",{parentName:"p"},"\u6269\u5c55 - \u670d\u52a1\u5305\u7ba1\u7406"),"\uff0c\u4f1a\u5f39\u51fa\u670d\u52a1\u5305\u7ba1\u7406\u754c\u9762\u3002"),(0,i.kt)("p",null,(0,i.kt)("img",{alt:"plugin-ui",src:n(8311).Z,width:"1064",height:"992"})),(0,i.kt)("p",null,"\u5982\u679c\u662f\u652f\u6301\u7684\u5f15\u64ce\u7248\u672c\uff0c",(0,i.kt)("strong",{parentName:"p"},"\u5b89\u88c5\u670d\u52a1\u5305")," \u7684\u6309\u94ae\u4f1a\u4eae\u8d77\uff0c\u70b9\u51fb\u4e4b\u540e\u91cd\u542f\u7f16\u8f91\u5668\u5373\u5b8c\u6210\u5b89\u88c5\u3002"),(0,i.kt)("div",{className:"admonition admonition-note alert alert--secondary"},(0,i.kt)("div",{parentName:"div",className:"admonition-heading"},(0,i.kt)("h5",{parentName:"div"},(0,i.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,i.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,i.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))),"\u6269\u5c55\u505a\u4e86\u4ec0\u4e48\u4e8b")),(0,i.kt)("div",{parentName:"div",className:"admonition-content"},(0,i.kt)("p",{parentName:"div"},"\u6269\u5c55\u4f1a\u81ea\u52a8\u4fee\u6539\u9879\u76ee\u7684\u81ea\u5b9a\u4e49\u5f15\u64ce\u8def\u5f84\uff0c\u5e76\u66ff\u6362 ",(0,i.kt)("inlineCode",{parentName:"p"},"jsb-adapter"),"\uff0c\u5728\u9879\u76ee\u6839\u76ee\u5f55\u653e\u7f6e ",(0,i.kt)("inlineCode",{parentName:"p"},"creator.d.ts")," \u6587\u4ef6\u3002"))),(0,i.kt)("p",null,"\u53ef\u5728\u9879\u76ee\u9884\u89c8\u65f6\u68c0\u67e5 Devtools Console \u6253\u5370\u7684\u662f\u5426\u4e3a ",(0,i.kt)("inlineCode",{parentName:"p"},"Cocos Creator SP v2.4.x"),"\uff0c\u662f\u7684\u8bdd\u5219\u5df2\u7ecf\u6210\u529f\u5b89\u88c5\u3002"),(0,i.kt)("p",null,(0,i.kt)("img",{alt:"installedconsole",src:n(8384).Z,width:"1081",height:"241"})),(0,i.kt)("p",null,"\u63a5\u4e0b\u6765\u63a8\u8350\u4f60\u4ece ",(0,i.kt)("a",{parentName:"p",href:"/cocos-service-pack/docs/start-guide/start-guide-intro"},"\u5165\u95e8\u6559\u7a0b")," \u5f00\u59cb\u4e86\u89e3\u670d\u52a1\u5305\u4e3a\u4f60\u7684\u5f00\u53d1\u90fd\u5e26\u6765\u4e86\u54ea\u4e9b\u65b0\u7279\u6027\uff01"),(0,i.kt)("hr",null),(0,i.kt)("h2",{id:"\u652f\u6301\u7684\u5f15\u64ce\u7248\u672c"},"\u652f\u6301\u7684\u5f15\u64ce\u7248\u672c"),(0,i.kt)("p",null,"\u670d\u52a1\u5305\u6bcf\u6b21\u7684\u7248\u672c\u66f4\u65b0\u90fd\u53ea\u4f1a\u53d1\u5e03\u6700\u65b0\u7248\u672c\u7684\u5f15\u64ce\u538b\u7f29\u5305\uff0c\u800c\u8fd9\u4e2a\u6269\u5c55\u4f1a\u989d\u5916\u9002\u914d\u5176\u4ed6\u5f15\u64ce\u7248\u672c\u5e76\u5185\u7f6e\u5728\u6269\u5c55\u91cc\u3002"),(0,i.kt)("p",null,(0,i.kt)("strong",{parentName:"p"},"\u8be5\u6269\u5c55\u81f3\u5c11\u4f1a\u7ef4\u62a4\u4e24\u4e2a Cocos Creator \u7248\u672c\uff0c\u5206\u522b\u662f v2.4.6 \u4e0e\u6700\u65b0\u7248\u672c\u3002")),(0,i.kt)("p",null,"\u9009\u62e9\u7ef4\u62a4\u8fd9\u4e24\u4e2a\u7248\u672c\u662f\u56e0\u4e3a\u5728 v2.4.7 \u8fd9\u4e2a\u7248\u672c\u51fa\u73b0\u4e86\u7834\u574f\u6027\u53d8\u66f4\uff0c\u800c v2.4.7 \u4e5f\u6b63\u597d\u662f\u5b98\u65b9\u5f00\u59cb\u6682\u505c\u65b0\u7279\u6027\u5f00\u53d1\uff0c\u53ea\u8fdb\u884c\u7ef4\u62a4\u7684\u7248\u672c\u3002"),(0,i.kt)("p",null,"\u4e5f\u5c31\u662f\u8bf4\uff1a"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"\u9879\u76ee\u5982\u679c\u662f\u4f7f\u7528\u5c0f\u4e8e v2.4.7 \u7248\u672c\u7684\u5f15\u64ce\u53ef\u4ee5\u5b8c\u5168\u65e0\u75db\u5347\u7ea7\u81f3 v2.4.6\u3002"),(0,i.kt)("li",{parentName:"ul"},"\u9879\u76ee\u5982\u679c\u662f\u4f7f\u7528\u5927\u4e8e\u7b49\u4e8e v2.4.7 \u7248\u672c\u7684\u5f15\u64ce\u53ef\u4ee5\u5b8c\u5168\u65e0\u75db\u5347\u7ea7\u81f3\u6700\u65b0\u7248\u3002")))}m.isMDXComponent=!0},8384:function(e,t,n){t.Z=n.p+"assets/images/installed-console-0f88c8e116d47cedee5905a74c33c2c5.png"},8311:function(e,t,n){t.Z=n.p+"assets/images/plugin-ui-0ebf4ae6e53f120b14ccacbcecb5e7b5.png"}}]); |