mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-26 11:48:29 +00:00
1 line
5.2 KiB
JavaScript
1 line
5.2 KiB
JavaScript
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[654],{3905:function(e,t,r){r.d(t,{Zo:function(){return p},kt:function(){return m}});var n=r(67294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,o=e.originalType,l=e.parentName,p=c(e,["components","mdxType","originalType","parentName"]),d=u(r),m=i,f=d["".concat(l,".").concat(m)]||d[m]||s[m]||o;return r?n.createElement(f,a(a({ref:t},p),{},{components:r})):n.createElement(f,a({ref:t},p))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=r.length,a=new Array(o);a[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:i,a[1]=c;for(var u=2;u<o;u++)a[u]=r[u];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}d.displayName="MDXCreateElement"},67892:function(e,t,r){r.d(t,{Z:function(){return y}});var n=r(67294),i=r(86010),o=r(39960),a=r(52802),c="cardContainer_S8oU",l="cardTitle_HoSo",u="cardDescription_c27F";r(95999);function p(e){var t=e.href,r=e.children;return n.createElement(o.Z,{href:t,className:(0,i.Z)("card padding--lg",c)},r)}function s(e){var t=e.href,r=e.icon,o=e.title,a=e.description;return n.createElement(p,{href:t},n.createElement("h2",{className:(0,i.Z)("text--truncate",l),title:o},r," ",o),a&&n.createElement("p",{className:(0,i.Z)("text--truncate",u),title:a},a))}function d(e){var t,r=e.item,i=((0,a.xz)(null!=(t=r.docId)?t:void 0),(0,a.Wl)(r));return i?n.createElement(s,{href:i,icon:"",title:r.label,description:r.description}):null}function m(e){var t,r=e.item,i=(0,a.xz)(null!=(t=r.docId)?t:void 0);return n.createElement(s,{href:r.href,icon:"",title:r.label,description:null==i?void 0:i.description})}function f(e){var t=e.item;switch(t.type){case"link":return n.createElement(m,{item:t});case"category":return n.createElement(d,{item:t});default:throw new Error("unknown item type "+JSON.stringify(t))}}function y(e){var t=e.items,r=e.className;return n.createElement("section",{className:(0,i.Z)("row",r)},function(e){return e.filter((function(e){return"category"!==e.type||!!(0,a.Wl)(e)}))}(t).map((function(e,t){return n.createElement("article",{key:t,className:"col col--6 margin-bottom--lg"},n.createElement(f,{key:t,item:e}))})))}},14332:function(e,t,r){r.r(t),r.d(t,{assets:function(){return d},contentTitle:function(){return p},default:function(){return y},frontMatter:function(){return u},metadata:function(){return s},toc:function(){return m}});var n=r(87462),i=r(63366),o=(r(67294),r(3905)),a=r(67892),c=r(52802),l=["components"],u={},p="TiledMap",s={unversionedId:"user-guide/tiledmap/tiledmap-intro",id:"version-2.0.0/user-guide/tiledmap/tiledmap-intro",title:"TiledMap",description:"\u793e\u533a\u7248\u5bf9 TiledMap \u8fdb\u884c\u4e86\u4f18\u5316\uff1a",source:"@site/versioned_docs/version-2.0.0/user-guide/tiledmap/tiledmap-intro.mdx",sourceDirName:"user-guide/tiledmap",slug:"/user-guide/tiledmap/tiledmap-intro",permalink:"/cocos-enhance-kit/docs/2.0.0/user-guide/tiledmap/tiledmap-intro",draft:!1,tags:[],version:"2.0.0",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"SpriteFrame \u6362\u88c5",permalink:"/cocos-enhance-kit/docs/2.0.0/user-guide/spine/spine-skin"},next:{title:"\u590d\u7528 Culling \u6570\u636e",permalink:"/cocos-enhance-kit/docs/2.0.0/user-guide/tiledmap/tiledmap-culling"}},d={},m=[],f={toc:m};function y(e){var t=e.components,r=(0,i.Z)(e,l);return(0,o.kt)("wrapper",(0,n.Z)({},f,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"tiledmap"},"TiledMap"),(0,o.kt)("p",null,"\u793e\u533a\u7248\u5bf9 TiledMap \u8fdb\u884c\u4e86\u4f18\u5316\uff1a"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"\u590d\u7528 TiledLayer \u7684 Culling \u6570\u636e")),(0,o.kt)("p",null,"\u4f60\u53ef\u4ee5\u9605\u8bfb\u4e0b\u9762\u7684\u6587\u6863\u4e86\u89e3\u8be6\u60c5\uff1a"),(0,o.kt)(a.Z,{items:(0,c.jA)().items,mdxType:"DocCardList"}))}y.isMDXComponent=!0}}]); |