mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-26 03:38:29 +00:00
1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3728],{3905:function(t,e,n){n.d(e,{Zo:function(){return p},kt:function(){return u}});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 s=a.createContext({}),c=function(t){var e=a.useContext(s),n=e;return t&&(n="function"==typeof t?t(e):o(o({},e),t)),n},p=function(t){var e=c(t.components);return a.createElement(s.Provider,{value:e},t.children)},d={inlineCode:"code",wrapper:function(t){var e=t.children;return a.createElement(a.Fragment,{},e)}},m=a.forwardRef((function(t,e){var n=t.components,i=t.mdxType,r=t.originalType,s=t.parentName,p=l(t,["components","mdxType","originalType","parentName"]),m=c(n),u=i,v=m["".concat(s,".").concat(u)]||m[u]||d[u]||r;return n?a.createElement(v,o(o({ref:e},p),{},{components:n})):a.createElement(v,o({ref:e},p))}));function u(t,e){var n=arguments,i=e&&e.mdxType;if("string"==typeof t||i){var r=n.length,o=new Array(r);o[0]=m;var l={};for(var s in e)hasOwnProperty.call(e,s)&&(l[s]=e[s]);l.originalType=t,l.mdxType="string"==typeof t?t:i,o[1]=l;for(var c=2;c<r;c++)o[c]=n[c];return a.createElement.apply(null,o)}return a.createElement.apply(null,n)}m.displayName="MDXCreateElement"},49757:function(t,e,n){n.r(e),n.d(e,{assets:function(){return p},contentTitle:function(){return s},default:function(){return u},frontMatter:function(){return l},metadata:function(){return c},toc:function(){return d}});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"},s="\u4e00\u952e\u5b89\u88c5",c={unversionedId:"installation/installation-auto",id:"version-3.0.0/installation/installation-auto",title:"\u4e00\u952e\u5b89\u88c5",description:"\u63a8\u8350\u4f7f\u7528\u6b64\u65b9\u5f0f\u8fdb\u884c\u4e00\u952e\u5b89\u88c5\u3002",source:"@site/versioned_docs/version-3.0.0/installation/installation-auto.md",sourceDirName:"installation",slug:"/installation/installation-auto",permalink:"/cocos-enhance-kit/docs/installation/installation-auto",draft:!1,tags:[],version:"3.0.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:"\u4ecb\u7ecd",permalink:"/cocos-enhance-kit/docs/intro"},next:{title:"\u624b\u52a8\u5b89\u88c5",permalink:"/cocos-enhance-kit/docs/installation/installation-manual"}},p={},d=[{value:"\u5b89\u88c5\u6269\u5c55",id:"\u5b89\u88c5\u6269\u5c55",level:2},{value:"\u4e00\u952e\u5b89\u88c5",id:"\u4e00\u952e\u5b89\u88c5-1",level:2},{value:"\u5b89\u88c5\u5176\u5b83\u7248\u672c",id:"\u5b89\u88c5\u5176\u5b83\u7248\u672c",level:3},{value:"\u68c0\u67e5\u5b89\u88c5\u72b6\u6001",id:"\u68c0\u67e5\u5b89\u88c5\u72b6\u6001",level:2},{value:"\u67e5\u770b\u4fe1\u606f",id:"\u67e5\u770b\u4fe1\u606f",level:2}],m={toc:d};function u(t){var e=t.components,l=(0,i.Z)(t,o);return(0,r.kt)("wrapper",(0,a.Z)({},m,l,{components:e,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"\u4e00\u952e\u5b89\u88c5"},"\u4e00\u952e\u5b89\u88c5"),(0,r.kt)("p",null,"\u6211\u4eec\u63d0\u4f9b\u4e86\u4e00\u4e2a",(0,r.kt)("strong",{parentName:"p"},"\u4ed8\u8d39\u6269\u5c55"),"\uff0c\u8be5\u6269\u5c55",(0,r.kt)("strong",{parentName:"p"},"\u552f\u4e00\u7684\u4f5c\u7528\u662f\u5e2e\u52a9\u4f60\u4e00\u952e\u5b89\u88c5\u548c\u7ba1\u7406\u793e\u533a\u7248\u7684\u7248\u672c"),"\u3002"),(0,r.kt)("p",null,"\u5b83\u4e5f\u4f5c\u4e3a\u5bf9\u6211\u4eec\u7ed9\u4e88\u80af\u5b9a\u548c\u652f\u6301\u7684",(0,r.kt)("strong",{parentName:"p"},"\u8d5e\u52a9\u901a\u9053"),"\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"}))),"\u58f0\u660e")),(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\u514d\u8d39\u7684\u5f00\u6e90\u9879\u76ee\u5417\uff1f")),(0,r.kt)("p",{parentName:"li"}," \u518d\u6b21\u91cd\u7533 Enhance Kit \u672c\u8eab\u662f",(0,r.kt)("strong",{parentName:"p"},"\u5b8c\u5168\u514d\u8d39\u5f00\u6e90"),"\u7684\u9879\u76ee\uff0c\u8be5\u6269\u5c55",(0,r.kt)("strong",{parentName:"p"},"\u6c38\u8fdc"),"\u53ea\u63d0\u4f9b\u4e00\u952e\u5b89\u88c5\u548c\u7248\u672c\u7ba1\u7406\u7684\u529f\u80fd\u3002"),(0,r.kt)("p",{parentName:"li"}," \u4e5f\u5c31\u662f\u8bf4\uff0c\u4f60\u53ef\u4ee5\u9009\u62e9 ",(0,r.kt)("a",{parentName:"p",href:"/cocos-enhance-kit/docs/installation/installation-manual"},"\u624b\u52a8\u5b89\u88c5")," \u6765\u4f7f\u7528\uff0c\u4e24\u8005\u6ca1\u6709\u4efb\u4f55\u672c\u8d28\u533a\u522b\uff0c\u4e5f\u53ea\u9700\u8981\u51e0\u6b65\u5373\u53ef\u5b8c\u6210\u3002"))))),(0,r.kt)("h2",{id:"\u5b89\u88c5\u6269\u5c55"},"\u5b89\u88c5\u6269\u5c55"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://store.cocos.com/app/detail/3824"},"\u70b9\u6b64\u8df3\u8f6c\u5230\u5546\u5e97\u9875\u9762")," \u4e0b\u8f7d\u5e76\u5b89\u88c5\u7248\u672c\u7ba1\u7406\u6269\u5c55\u3002"),(0,r.kt)("h2",{id:"\u4e00\u952e\u5b89\u88c5-1"},"\u4e00\u952e\u5b89\u88c5"),(0,r.kt)("p",null,"\u4f9d\u6b21\u70b9\u51fb Cocos Creator \u7684\u83dc\u5355\u680f ",(0,r.kt)("strong",{parentName:"p"},"\u6269\u5c55 - \u793e\u533a\u7248\u7ba1\u7406 - \u5b89\u88c5... - \u5b89\u88c5\u6700\u65b0\u7248\u672c"),"\uff0c\u4f1a\u81ea\u52a8\u5f00\u59cb\u5b89\u88c5\u793e\u533a\u7248\u3002"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"plugin-install",src:n(94689).Z,width:"2478",height:"974"})),(0,r.kt)("div",{className:"admonition admonition-caution alert alert--warning"},(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:"16",height:"16",viewBox:"0 0 16 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))),"\u6ce8\u610f")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("ul",{parentName:"div"},(0,r.kt)("li",{parentName:"ul"},"\u793e\u533a\u7248\u4f1a\u589e\u52a0\u4e00\u4e2a\u540d\u79f0\u4e3a ",(0,r.kt)("inlineCode",{parentName:"li"},"sp")," \u7684 AssetBundle \u4ee5\u5b58\u653e\u5185\u7f6e\u8d44\u6e90\uff0c",(0,r.kt)("strong",{parentName:"li"},"\u8bf7\u786e\u4fdd\u4f60\u7684\u9879\u76ee\u672a\u8bbe\u7f6e\u540c\u540d\u7684 AssetBundle \u5f15\u8d77\u51b2\u7a81"),"\u3002"),(0,r.kt)("li",{parentName:"ul"},"\u6ca1\u6709\u5fc5\u8981\u5c06\u8fd9\u4e2a Asset Bundle \u8bbe\u4e3a\u8fdc\u7a0b\u5305\u6216\u8005 Zip \u538b\u7f29\uff0c\u91cc\u9762\u53ea\u6709\u51e0\u4e2a\u7740\u8272\u5668\u8d44\u6e90\u3002")))),(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\u539f\u7406")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},"\u6269\u5c55\u4f7f\u7528\u811a\u672c\u5e2e\u60a8\u81ea\u52a8\u5b8c\u6210\u624b\u52a8\u5b89\u88c5\u65f6\u9700\u8981\u505a\u7684\u6b65\u9aa4\uff0c\u6bd4\u5982\u8bbe\u7f6e\u81ea\u5b9a\u4e49\u5f15\u64ce\u548c\u653e\u7f6e TypeScript \u7c7b\u578b\u63d0\u793a\u6587\u4ef6\u3002"))),(0,r.kt)("h3",{id:"\u5b89\u88c5\u5176\u5b83\u7248\u672c"},"\u5b89\u88c5\u5176\u5b83\u7248\u672c"),(0,r.kt)("p",null,"\u4f9d\u6b21\u70b9\u51fb Cocos Creator \u7684\u83dc\u5355\u680f ",(0,r.kt)("strong",{parentName:"p"},"\u6269\u5c55 - \u793e\u533a\u7248\u7ba1\u7406 - \u5b89\u88c5... - \u5b89\u88c5\u5176\u5b83\u7248\u672c")," \u53ef\u4ee5\u5b89\u88c5\u5f53\u524d\u5f15\u64ce\u652f\u6301\u5b89\u88c5\u7684\u6240\u6709\u7248\u672c\u3002"),(0,r.kt)("p",null,"\u53ef\u4ee5\u91cd\u590d\u6267\u884c\u5b89\u88c5\u64cd\u4f5c\uff0c\u6269\u5c55\u4f1a\u81ea\u52a8\u8fdb\u884c\u8986\u76d6\u3002"),(0,r.kt)("h2",{id:"\u68c0\u67e5\u5b89\u88c5\u72b6\u6001"},"\u68c0\u67e5\u5b89\u88c5\u72b6\u6001"),(0,r.kt)("p",null,"\u4f60\u53ef\u4ee5\u8fd0\u884c\u9879\u76ee\u5e76\u68c0\u67e5 Console \u662f\u5426\u6709\u6253\u5370\u7c7b\u4f3c ",(0,r.kt)("inlineCode",{parentName:"p"},"Cocos Creator SP v2.4.x")," \u7684\u65e5\u5fd7\uff0c\u6709\u7684\u8bdd\u5219\u5df2\u7ecf\u6210\u529f\u5b89\u88c5\u3002"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"installedconsole",src:n(73260).Z,width:"1081",height:"241"})),(0,r.kt)("p",null,"\u63a5\u4e0b\u6765\u63a8\u8350\u4f60\u7ee7\u7eed\u9605\u8bfb\u6587\u6863\u4e2d\u5269\u4e0b\u7684\u5185\u5bb9\u4ee5\u4e86\u89e3\u4f60\u80fd\u591f\u4f7f\u7528\u7684\u65b0\u7279\u6027\uff01"),(0,r.kt)("h2",{id:"\u67e5\u770b\u4fe1\u606f"},"\u67e5\u770b\u4fe1\u606f"),(0,r.kt)("p",null,"\u4f9d\u6b21\u70b9\u51fb Cocos Creator \u7684\u83dc\u5355\u680f ",(0,r.kt)("strong",{parentName:"p"},"\u6269\u5c55 - \u793e\u533a\u7248\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(61936).Z,width:"2476",height:"972"})),(0,r.kt)("p",null,"\u4f60\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u5f15\u64ce\u7248\u672c\u3001\u652f\u6301\u4e00\u952e\u5b89\u88c5\u7684\u793e\u533a\u7248\u7248\u672c\u548c\u5df2\u5b89\u88c5\u7684\u793e\u533a\u7248\u7248\u672c\u7b49\u4fe1\u606f\u3002"))}u.isMDXComponent=!0},73260:function(t,e,n){e.Z=n.p+"assets/images/installed-console-35205b4816104fc7211e69cda86c1b76.png"},61936:function(t,e,n){e.Z=n.p+"assets/images/plugin-info-51204f442d3c7184f263700db4aaf1b8.png"},94689:function(t,e,n){e.Z=n.p+"assets/images/plugin-install-a49dd18383cbd5e141d25c03fb39890c.png"}}]); |