cocos-enhance-kit/assets/js/c621ecab.9eccedb4.js
2024-11-08 21:50:57 +08:00

1 line
12 KiB
JavaScript

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[316],{3905:function(t,e,n){n.d(e,{Zo:function(){return p},kt:function(){return m}});var a=n(67294);function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e){if(null==t)return{};var n,a,i=function(t,e){if(null==t)return{};var n,a,i={},r=Object.keys(t);for(a=0;a<r.length;a++)n=r[a],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(a=0;a<r.length;a++)n=r[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var c=a.createContext({}),s=function(t){var e=a.useContext(c),n=e;return t&&(n="function"==typeof t?t(e):o(o({},e),t)),n},p=function(t){var e=s(t.components);return a.createElement(c.Provider,{value:e},t.children)},u={inlineCode:"code",wrapper:function(t){var e=t.children;return a.createElement(a.Fragment,{},e)}},d=a.forwardRef((function(t,e){var n=t.components,i=t.mdxType,r=t.originalType,c=t.parentName,p=l(t,["components","mdxType","originalType","parentName"]),d=s(n),m=i,g=d["".concat(c,".").concat(m)]||d[m]||u[m]||r;return n?a.createElement(g,o(o({ref:e},p),{},{components:n})):a.createElement(g,o({ref:e},p))}));function m(t,e){var n=arguments,i=e&&e.mdxType;if("string"==typeof t||i){var r=n.length,o=new Array(r);o[0]=d;var l={};for(var c in e)hasOwnProperty.call(e,c)&&(l[c]=e[c]);l.originalType=t,l.mdxType="string"==typeof t?t:i,o[1]=l;for(var s=2;s<r;s++)o[s]=n[s];return a.createElement.apply(null,o)}return a.createElement.apply(null,n)}d.displayName="MDXCreateElement"},69171:function(t,e,n){n.r(e),n.d(e,{assets:function(){return p},contentTitle:function(){return c},default:function(){return m},frontMatter:function(){return l},metadata:function(){return s},toc:function(){return u}});var a=n(87462),i=n(63366),r=(n(67294),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",s={unversionedId:"installation-guide/installation-engine-plugin",id:"version-1.2.0/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/versioned_docs/version-1.2.0/installation-guide/installation-engine-plugin.md",sourceDirName:"installation-guide",slug:"/installation-guide/installation-engine-plugin",permalink:"/cocos-enhance-kit/docs/1.2.0/installation-guide/installation-engine-plugin",draft:!1,tags:[],version:"1.2.0",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-enhance-kit/docs/1.2.0/installation-guide/installation-intro"},next:{title:"\u624b\u52a8\u5b89\u88c5",permalink:"/cocos-enhance-kit/docs/1.2.0/installation-guide/installation-manual"}},p={},u=[{value:"\u524d\u5f80 Cocos Store \u4e0b\u8f7d",id:"\u524d\u5f80-cocos-store-\u4e0b\u8f7d",level:2},{value:"\u67e5\u8be2\u4fe1\u606f",id:"\u67e5\u8be2\u4fe1\u606f",level:2},{value:"\u4e00\u952e\u5b89\u88c5",id:"\u4e00\u952e\u5b89\u88c5",level:2},{value:"\u66f4\u591a\u7279\u6027",id:"\u66f4\u591a\u7279\u6027",level:2}],d={toc:u};function m(t){var e=t.components,l=(0,i.Z)(t,o);return(0,r.kt)("wrapper",(0,a.Z)({},d,l,{components:e,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"\u4f7f\u7528\u5f15\u64ce\u6269\u5c55\u5b89\u88c5"},"\u4f7f\u7528\u5f15\u64ce\u6269\u5c55\u5b89\u88c5"),(0,r.kt)("hr",null),(0,r.kt)("h2",{id:"\u524d\u5f80-cocos-store-\u4e0b\u8f7d"},"\u524d\u5f80 Cocos Store \u4e0b\u8f7d"),(0,r.kt)("p",null,"\u5728 Cocos Store \u641c\u7d22\u540d\u4e3a ",(0,r.kt)("strong",{parentName:"p"},"Cocos Enhance Kit")," \u7684\u5f15\u64ce\u6269\u5c55\uff0c\u6216\u8005 ",(0,r.kt)("a",{parentName:"p",href:"https://store.cocos.com/app/detail/3824"},"\u70b9\u6b64\u8df3\u8f6c"),"\u3002"),(0,r.kt)("p",null,"\u8fd9\u4e2a\u6269\u5c55\u4e0d\u662f\u514d\u8d39\u7684\uff0c",(0,r.kt)("strong",{parentName:"p"},"\u4f46\u5176\u552f\u4e00\u7684\u4f5c\u7528\u5c31\u662f\u5e2e\u52a9\u4f60\u7ba1\u7406\u589e\u5f3a\u5305\u7684\u7248\u672c\uff08\u67e5\u770b\u3001\u5b89\u88c5\u548c\u5378\u8f7d\u589e\u5f3a\u5305\uff09\u3002")),(0,r.kt)("div",{className:"admonition admonition-tip alert alert--success"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,r.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,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("ul",{parentName:"div"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},"Enhance Kit \u4e0d\u662f\u5f00\u6e90\u9879\u76ee\u5417\uff1f\uff1f\uff1f")),(0,r.kt)("p",{parentName:"li"}," Enhance Kit \u662f\u5b8c\u5168\u5f00\u6e90\u7684\u9879\u76ee\uff0c\u8fd9\u4e2a\u5f15\u64ce\u6269\u5c55\u53ea\u4f1a\u4e3a\u4f60\u63d0\u4f9b\u81ea\u52a8\u5316\u7684\u5b89\u88c5\u65b9\u5f0f\uff0c\u4ee5\u540e\u4e5f\u53ea\u4f1a\u6709\u7248\u672c\u7ba1\u7406\u65b9\u9762\u7684\u529f\u80fd\u3002"),(0,r.kt)("p",{parentName:"li"}," \u4f60\u53ef\u4ee5\u9009\u62e9 ",(0,r.kt)("a",{parentName:"p",href:"/cocos-enhance-kit/docs/1.2.0/installation-guide/installation-manual"},"\u624b\u52a8\u5b89\u88c5"),"\uff0c\u4e5f\u53ea\u9700\u8981\u51e0\u6b65\u5373\u53ef\u5b8c\u6210\u3002")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("p",{parentName:"li"},(0,r.kt)("strong",{parentName:"p"},"\u5982\u4f55\u53cd\u9988\u6709\u5173\u8fd9\u4e2a\u6269\u5c55\u7684\u95ee\u9898\u6216\u5efa\u8bae")),(0,r.kt)("p",{parentName:"li"}," \u82e5\u9047\u5230\u4e0e\u8fd9\u4e2a\u6269\u5c55\u76f8\u5173\u7684\u95ee\u9898\u6216\u8005\u5efa\u8bae\uff0c\u4e0d\u8981\u5728\u589e\u5f3a\u5305\u7684 Github \u4ed3\u5e93\u53cd\u9988\uff0c\u8bf7\u5728\u6269\u5c55\u7684 ",(0,r.kt)("strong",{parentName:"p"},"\u5546\u5e97\u8bc4\u8bba\u533a")," \u8fdb\u884c\u53cd\u9988\u3002"),(0,r.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,r.kt)("hr",null),(0,r.kt)("h2",{id:"\u67e5\u8be2\u4fe1\u606f"},"\u67e5\u8be2\u4fe1\u606f"),(0,r.kt)("p",null,"\u5b89\u88c5\u597d\u6269\u5c55\u540e\uff0c\u53ef\u5728 Cocos Creator \u7684\u83dc\u5355\u680f\u4f9d\u6b21\u70b9\u51fb ",(0,r.kt)("strong",{parentName:"p"},"\u6269\u5c55 - \u589e\u5f3a\u5305\u7ba1\u7406 - \u67e5\u770b\u4fe1\u606f"),"\uff0c\u4f1a\u6253\u5370\u5f53\u524d\u73af\u5883\u4fe1\u606f\u3002"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"plugin-info",src:n(30506).Z,width:"2476",height:"972"})),(0,r.kt)("p",null,"\u4f60\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u5f15\u64ce\u7248\u672c\u652f\u6301\u4e00\u952e\u5b89\u88c5\u7684\u589e\u5f3a\u5305\u7248\u672c\uff0c\u5df2\u5b89\u88c5\u7684\u589e\u5f3a\u5305\u7248\u672c\u7b49\u4fe1\u606f\u3002"),(0,r.kt)("hr",null),(0,r.kt)("h2",{id:"\u4e00\u952e\u5b89\u88c5"},"\u4e00\u952e\u5b89\u88c5"),(0,r.kt)("p",null,"\u5b89\u88c5\u597d\u6269\u5c55\u540e\uff0c\u53ef\u5728 Cocos Creator \u7684\u83dc\u5355\u680f\u4f9d\u6b21\u70b9\u51fb ",(0,r.kt)("strong",{parentName:"p"},"\u6269\u5c55 - \u589e\u5f3a\u5305\u7ba1\u7406 - \u5b89\u88c5\u589e\u5f3a\u5305 - \u5b89\u88c5\u6700\u65b0\u7248\u672c"),"\uff0c\u4f1a\u81ea\u52a8\u5f00\u59cb\u5b89\u88c5\u589e\u5f3a\u5305\u3002"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"plugin-install",src:n(86859).Z,width:"2478",height:"974"})),(0,r.kt)("div",{className:"admonition admonition-note alert alert--secondary"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.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,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},"\u6269\u5c55\u5e2e\u60a8\u81ea\u52a8\u5b8c\u6210\u4e86\u624b\u52a8\u5b89\u88c5\u65f6\u9700\u8981\u505a\u7684\u6240\u6709\u6b65\u9aa4\uff0c\u5305\u62ec\u81ea\u5b9a\u4e49\u5f15\u64ce\u548c\u653e\u7f6e TypeScript \u7c7b\u578b\u63d0\u793a\u6587\u4ef6\u3002"))),(0,r.kt)("p",null,"\u9884\u89c8\u9879\u76ee\u5e76\u68c0\u67e5 Devtools Console \u6253\u5370\u7684\u662f\u5426\u4e3a ",(0,r.kt)("inlineCode",{parentName:"p"},"Cocos Creator SP v2.4.x"),"\uff0c\u662f\u7684\u8bdd\u5219\u5df2\u7ecf\u6210\u529f\u5b89\u88c5\u3002"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"installedconsole",src:n(8326).Z,width:"1081",height:"241"})),(0,r.kt)("p",null,"\u63a5\u4e0b\u6765\u63a8\u8350\u4f60\u4ece ",(0,r.kt)("a",{parentName:"p",href:"/cocos-enhance-kit/docs/1.2.0/start-guide/start-guide-intro"},"\u5165\u95e8\u6559\u7a0b")," \u5f00\u59cb\u4e86\u89e3\u589e\u5f3a\u5305\u4e3a\u4f60\u7684\u5f00\u53d1\u90fd\u5e26\u6765\u4e86\u54ea\u4e9b\u65b0\u7279\u6027\uff01"),(0,r.kt)("hr",null),(0,r.kt)("h2",{id:"\u66f4\u591a\u7279\u6027"},"\u66f4\u591a\u7279\u6027"),(0,r.kt)("p",null,"\u5728\u589e\u5f3a\u5305\u53d1\u5e03\u65b0\u7248\u672c\u4e4b\u540e\uff0c\u4f60\u53ef\u80fd\u8fd8\u6ca1\u505a\u597d\u5347\u7ea7\u7684\u51c6\u5907\uff0c\u8fd9\u65f6\u5019\u4f60\u53ef\u4ee5\u70b9\u51fb ",(0,r.kt)("strong",{parentName:"p"},"\u6269\u5c55 - \u589e\u5f3a\u5305\u7ba1\u7406 - \u5b89\u88c5\u589e\u5f3a\u5305 - \u5b89\u88c5\u5176\u5b83\u7248\u672c")," \u5b89\u88c5\u589e\u5f3a\u5305\u7684\u5386\u53f2\u7248\u672c\u3002"),(0,r.kt)("p",null,"\u8be5\u6269\u5c55\u4f1a\u6536\u5f55\u589e\u5f3a\u5305\u53d1\u5e03\u8fc7\u7684\u6240\u6709\u7248\u672c\u3002"),(0,r.kt)("p",null,"\u589e\u5f3a\u5305\u53ea\u4f1a\u9002\u914d\u5f15\u64ce\u7684\u6700\u65b0\u7248\u672c\uff0c\u5982\u679c\u4f60\u9700\u8981\u5728\u5176\u5b83\u5f15\u64ce\u7248\u672c\u4e0a\u5b89\u88c5\u589e\u5f3a\u5305\uff0c\u4e00\u822c\u9700\u8981\u624b\u52a8\u4f7f\u7528 Git Patch\u3002"),(0,r.kt)("p",null,"\u4e4b\u540e\u6269\u5c55\u53ef\u80fd\u4f1a\u989d\u5916\u9002\u914d\u66f4\u591a\u7684\u5f15\u64ce\u7248\u672c\uff0c\u8fd9\u53d6\u51b3\u4e8e\u5927\u5bb6\u5177\u4f53\u7684\u9700\u6c42\u5982\u4f55\u3002"))}m.isMDXComponent=!0},8326:function(t,e,n){e.Z=n.p+"assets/images/installed-console-35205b4816104fc7211e69cda86c1b76.png"},30506:function(t,e,n){e.Z=n.p+"assets/images/plugin-info-51204f442d3c7184f263700db4aaf1b8.png"},86859:function(t,e,n){e.Z=n.p+"assets/images/plugin-install-a49dd18383cbd5e141d25c03fb39890c.png"}}]);