mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-26 11:48:29 +00:00
1 line
15 KiB
JavaScript
1 line
15 KiB
JavaScript
|
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7906],{3905:function(e,t,n){n.d(t,{Zo:function(){return c},kt:function(){return m}});var r=n(67294);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var o=r.createContext({}),u=function(e){var t=r.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=u(e.components);return r.createElement(o.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},k=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,o=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),k=u(n),m=l,d=k["".concat(o,".").concat(m)]||k[m]||s[m]||a;return n?r.createElement(d,i(i({ref:t},c),{},{components:n})):r.createElement(d,i({ref:t},c))}));function m(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=k;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p.mdxType="string"==typeof e?e:l,i[1]=p;for(var u=2;u<a;u++)i[u]=n[u];return r.createElement.apply(null,i)}return r.createElement.apply(null,n)}k.displayName="MDXCreateElement"},74457:function(e,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return o},default:function(){return m},frontMatter:function(){return p},metadata:function(){return u},toc:function(){return s}});var r=n(87462),l=n(63366),a=(n(67294),n(3905)),i=["components"],p={sidebar_position:1,description:"\u5728\u6e38\u620f\u5f00\u53d1\u4e2d\u4eab\u53d7\u4e0d\u7528\u5173\u6ce8 Draw Call \u7684\u5feb\u4e50\u3002"},o="\u63d0\u5347\u6e38\u620f\u6027\u80fd",u={unversionedId:"best-practices/performance-guide",id:"version-2.0.0/best-practices/performance-guide",title:"\u63d0\u5347\u6e38\u620f\u6027\u80fd",description:"\u5728\u6e38\u620f\u5f00\u53d1\u4e2d\u4eab\u53d7\u4e0d\u7528\u5173\u6ce8 Draw Call \u7684\u5feb\u4e50\u3002",source:"@site/versioned_docs/version-2.0.0/best-practices/performance-guide.md",sourceDirName:"best-practices",slug:"/best-practices/performance-guide",permalink:"/cocos-enhance-kit/docs/2.0.0/best-practices/performance-guide",draft:!1,tags:[],version:"2.0.0",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"\u5728\u6e38\u620f\u5f00\u53d1\u4e2d\u4eab\u53d7\u4e0d\u7528\u5173\u6ce8 Draw Call \u7684\u5feb\u4e50\u3002"},sidebar:"tutorialSidebar",previous:{title:"\u624b\u52a8\u5b89\u88c5",permalink:"/cocos-enhance-kit/docs/2.0.0/installation/installation-manual"},next:{title:"\u63d0\u5347\u6e38\u620f\u8d28\u91cf",permalink:"/cocos-enhance-kit/docs/2.0.0/best-practices/quality-guide"}},c={},s=[{value:"\u4f7f\u7528\u52a8\u6001\u5408\u56fe",id:"\u4f7f\u7528\u52a8\u6001\u5408\u56fe",level:2},{value:"\u4f7f\u7528 Label \u7f13\u5b58\u6a21\u5f0f",id:"\u4f7f\u7528-label-\u7f13\u5b58\u6a21\u5f0f",level:2},{value:"\u6ce8\u610f\u4e8b\u9879",id:"\u6ce8\u610f\u4e8b\u9879",level:3},{value:"\u542f\u7528 Spine \u5408\u6279",id:"\u542f\u7528-spine-\u5408\u6279",level:2},{value:"\u63d0\u5347 TiledMap \u6027\u80fd",id:"\u63
|