cocos-enhance-kit/assets/js/f6ec85cc.49382329.js

1 line
16 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1793],{3905:function(e,t,n){n.d(t,{Zo:function(){return c},kt:function(){return m}});var l=n(67294);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 a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,l)}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){r(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,l,r=function(e,t){if(null==e)return{};var n,l,r={},a=Object.keys(e);for(l=0;l<a.length;l++)n=a[l],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)n=a[l],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var u=l.createContext({}),o=function(e){var t=l.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=o(e.components);return l.createElement(u.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},k=l.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,u=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),k=o(n),m=r,d=k["".concat(u,".").concat(m)]||k[m]||s[m]||a;return n?l.createElement(d,i(i({ref:t},c),{},{components:n})):l.createElement(d,i({ref:t},c))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,i=new Array(a);i[0]=k;var p={};for(var u in t)hasOwnProperty.call(t,u)&&(p[u]=t[u]);p.originalType=e,p.mdxType="string"==typeof e?e:r,i[1]=p;for(var o=2;o<a;o++)i[o]=n[o];return l.createElement.apply(null,i)}return l.createElement.apply(null,n)}k.displayName="MDXCreateElement"},61955:function(e,t,n){n.r(t),n.d(t,{assets:function(){return c},contentTitle:function(){return u},default:function(){return m},frontMatter:function(){return p},metadata:function(){return o},toc:function(){return s}});var l=n(87462),r=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"},u="\u63d0\u5347\u6e38\u620f\u6027\u80fd",o={unversionedId:"best-practices/performance-guide",id:"version-2.2.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.2.0/best-practices/performance-guide.md",sourceDirName:"best-practices",slug:"/best-practices/performance-guide",permalink:"/cocos-enhance-kit/docs/2.2.0/best-practices/performance-guide",draft:!1,tags:[],version:"2.2.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.2.0/installation/installation-manual"},next:{title:"\u63d0\u5347\u6e38\u620f\u8d28\u91cf",permalink:"/cocos-enhance-kit/docs/2.2.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