17 lines
33 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="zh" dir="ltr" class="docs-wrapper docs-doc-page docs-version-2.0.0 plugin-docs plugin-id-default docs-doc-id-installation/installation-manual">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="generator" content="Docusaurus v2.0.0-beta.20">
<title data-rh="true">手动安装 | Cocos Enhance Kit</title><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://smallmain.github.io/cocos-enhance-kit/docs/2.0.0/installation/installation-manual"><meta data-rh="true" name="docusaurus_locale" content="zh"><meta data-rh="true" name="docsearch:language" content="zh"><meta data-rh="true" name="docusaurus_version" content="2.0.0"><meta data-rh="true" name="docusaurus_tag" content="docs-default-2.0.0"><meta data-rh="true" name="docsearch:version" content="2.0.0"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-2.0.0"><meta data-rh="true" property="og:title" content="手动安装 | Cocos Enhance Kit"><meta data-rh="true" name="description" content="需掌握一定的自定义引擎知识。"><meta data-rh="true" property="og:description" content="需掌握一定的自定义引擎知识。"><link data-rh="true" rel="icon" href="/cocos-enhance-kit/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://smallmain.github.io/cocos-enhance-kit/docs/2.0.0/installation/installation-manual"><link data-rh="true" rel="alternate" href="https://smallmain.github.io/cocos-enhance-kit/docs/2.0.0/installation/installation-manual" hreflang="zh"><link data-rh="true" rel="alternate" href="https://smallmain.github.io/cocos-enhance-kit/docs/2.0.0/installation/installation-manual" hreflang="x-default"><link rel="stylesheet" href="/cocos-enhance-kit/assets/css/styles.22998370.css">
<link rel="preload" href="/cocos-enhance-kit/assets/js/runtime~main.e047e124.js" as="script">
<link rel="preload" href="/cocos-enhance-kit/assets/js/main.a7d7118a.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region"><a href="#" class="skipToContent_ZgBM">跳到主要内容</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Navigation bar toggle" class="navbar__toggle clean-btn" type="button" tabindex="0"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/cocos-enhance-kit/"><b class="navbar__title text--truncate">Cocos Enhance Kit</b></a></div><div class="navbar__items navbar__items--right"><a class="navbar__item navbar__link" href="/cocos-enhance-kit/">首页</a><a class="navbar__item navbar__link navbar__link--active" href="/cocos-enhance-kit/docs/2.0.0/intro">文档</a><a href="https://smallmain.github.io/cocos-enhance-kit/demo/v1.0.0/web-desktop/index.html" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">演示</a><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a class="navbar__link" aria-haspopup="true" aria-expanded="false" role="button" href="/cocos-enhance-kit/docs/2.0.0/intro">2.0.0</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/cocos-enhance-kit/docs/next/installation/installation-manual">Next</a></li><li><a class="dropdown__link" href="/cocos-enhance-kit/docs/installation/installation-manual">3.0.0</a></li><li><a class="dropdown__link" href="/cocos-enhance-kit/docs/2.4.0/installation/installation-manual">2.4.0</a></li><li><a class="dropdown__link" href="/cocos-enhance-kit/docs/2.3.0/installation/installation-manual">2.3.0</a></li><li><a class="dropdown__link" href="/cocos-enhance-kit/docs/2.2.0/installation/installation-manual">2.2.0</a></li><li><a class="dropdown__link" href="/cocos-enhance-kit/docs/2.1.0/installation/installation-manual">2.1.0</a></li><li><a aria-current="page" class="dropdown__link dropdown__link--active" href="/cocos-enhance-kit/docs/2.0.0/installation/installation-manual">2.0.0</a></li><li><a class="dropdown__link" href="/cocos-enhance-kit/docs/1.2.0/intro">1.2.0</a></li><li><a class="dropdown__link" href="/cocos-enhance-kit/docs/1.1.0/intro">1.1.0</a></li><li><a class="dropdown__link" href="/cocos-enhance-kit/docs/1.0.0/intro">1.0.0</a></li></ul></div><a href="https://github.com/smallmain/cocos-enhance-kit" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link header-github-link">Github</a><div class="searchBox_dLyj"><div class="navbar__search searchBarContainer_NW3z"><input placeholder="搜索" aria-label="Search" class="navbar__search-input"><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div><div class="searchHintContainer_Pkmr"><kbd class="searchHint_iIMx">ctrl</kbd><kbd class="searchHint_iIMx">K</kbd></div></div></div><div class="toggle_S7eR colorModeToggle_vKtC"><button class="clean-btn toggleButton_rCf9 toggleButtonDisabled_Pu9x" type="button" disabled="" title="切换浅色/暗黑模式(当前为浅色模式)" aria-label="切换浅色/暗黑模式(当前为浅色模式)"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_v35p"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_nQuB"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div class="main-wrapper docsWrapper_mKqt"><button aria-label="回到顶部" class="clean-btn theme-back-to-top-button backToTopButton_RiI4" type="button"></button><div class="docPage_ualW"><aside class="theme-doc-sidebar-container docSidebarContainer_UQUJ"><div class="sidebar_RiAD"><nav class="menu thin-scrollbar menu_izAj"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cocos-enhance-kit/docs/2.0.0/intro">介绍</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" aria-expanded="true" href="/cocos-enhance-kit/docs/2.0.0/installation/installation-auto">安装</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/installation/installation-auto">一键安装</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/installation/installation-manual">手动安装</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="true" href="/cocos-enhance-kit/docs/2.0.0/best-practices/performance-guide">最佳实践</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/best-practices/performance-guide">提升游戏性能</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/best-practices/quality-guide">提升游戏质量</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/best-practices/new-features">新引擎特性</a></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="true" href="/cocos-enhance-kit/docs/2.0.0/user-guide/multi-render/multi-render-intro">使用指南</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/user-guide/multi-render/multi-render-intro">多纹理渲染</a><button aria-label="打开/收起侧边栏菜单「多纹理渲染」" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/user-guide/text-render/text-render-intro">文本渲染</a><button aria-label="打开/收起侧边栏菜单「文本渲染」" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/user-guide/dynamic-batcher/dynamic-batcher-intro">动态合图</a><button aria-label="打开/收起侧边栏菜单「动态合图」" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/user-guide/spine/spine-intro">Spine</a><button aria-label="打开/收起侧边栏菜单「Spine」" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/user-guide/tiledmap/tiledmap-intro">TiledMap</a><button aria-label="打开/收起侧边栏菜单「TiledMap」" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/cocos-enhance-kit/docs/2.0.0/user-guide/multithread/thread-intro">多线程支持</a><button aria-label="打开/收起侧边栏菜单「多线程支持」" type="button" class="clean-btn menu__caret"></button></div></li></ul></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cocos-enhance-kit/docs/2.0.0/breaking-change">破坏性变更</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cocos-enhance-kit/docs/2.0.0/uninstall-guide">卸载</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cocos-enhance-kit/docs/2.0.0/update-log">更新日志</a></li></ul></nav></div></aside><main class="docMainContainer_uL0j"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_DM6M"><div class="theme-doc-version-banner alert alert--warning margin-bottom--md" role="alert"><div>此为 <!-- -->Cocos Enhance Kit<!-- --> <b>2.0.0</b> 版的文档,现已不再积极维护。</div><div class="margin-top--md">最新的文档请参阅 <b><a href="/cocos-enhance-kit/docs/installation/installation-manual">最新版本</a></b> (<!-- -->3.0.0<!-- -->)。</div></div><div class="docItemContainer_vinB"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Xlws" aria-label="页面路径"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="主页面" class="breadcrumbs__link" href="/cocos-enhance-kit/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_kU5B"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li class="breadcrumbs__item"><span class="breadcrumbs__link">安装</span><meta itemprop="position" content="1"></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">手动安装</span><meta itemprop="position" content="2"></li></ul></nav><span class="theme-doc-version-badge badge badge--secondary">版本2.0.0</span><div class="tocCollapsible_bZGK theme-doc-toc-mobile tocMobile_TmEX"><button type="button" class="clean-btn tocCollapsibleButton_l22C">本页总览</button></div><div class="theme-doc-markdown markdown"><h1>手动安装</h1><h2 class="anchor anchorWithStickyNavbar_mojV" id="下载并解压">下载并解压<a class="hash-link" href="#下载并解压" title="标题的直接链接"></a></h2><p>前往 <a href="https://github.com/smallmain/cocos-enhance-kit/releases" target="_blank" rel="noopener noreferrer">Github Release</a> 下载对应版本的压缩包。</p><p><strong>请确保您的项目的引擎版本与下载的社区版的引擎版本一致。</strong></p><div class="admonition admonition-tip alert alert--success"><div class="admonition-heading"><h5><span class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="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"></path></svg></span>提示</h5></div><div class="admonition-content"><p>建议升级到最新的引擎版本,官方只会对 2.x 版本只会进行维护性更新,所以不用担心其稳定性问题。</p></div></div><p>解压压缩包后可以看到以下目录和文件:</p><ul><li><code>engine</code>JavaScript engine</li><li><code>cocos2d-x</code>Cocos2d-x engine</li><li><code>jsb-adapter</code>JSB adpater</li><li><code>adapters</code>Minigame adpaters</li><li><code>extension</code>(支持性引擎扩展)</li><li><code>creator-sp.d.ts</code>(社区版类型文件)</li></ul><h2 class="anchor anchorWithStickyNavbar_mojV" id="替换自定义引擎">替换自定义引擎<a class="hash-link" href="#替换自定义引擎" title="标题的直接链接"></a></h2><p>依次进入 Cocos Creator 菜单的 <strong>项目 - 项目设置 - 自定义引擎</strong></p><p>分别填写 <strong>JavaScript 引擎路径</strong>(对应 <code>engine</code> 目录)和 <strong>Cocos2d-x 引擎路径</strong>(对应 <code>cocos2d-x</code> 目录)。</p><p><img loading="lazy" alt="custom-engine" src="/cocos-enhance-kit/assets/images/custom-engine-b10844213e749d360ca03041db42661f.png" width="1196" height="1134" class="img_E7b_"></p><p>然后点击 Cocos Creator 主界面右上角的 <strong>编辑器</strong> 按钮,进入到编辑器的资源目录。</p><p><img loading="lazy" alt="ide-cocos-path" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAq4AAABGCAMAAAA6qebyAAAAV1BMVEUtLS1PT09hYWGampouLi4gICAHBwdOTk4sLCy9vb1vb2+1tbWvr6+Ojo57e3u7u7uFhYVoaGiqqqpVVVU2NjZaWlqgoKA+Pj52dnZGRka4uLilpaWUlJQLal4sAAAMr0lEQVR42u1di3akqhJt0HMN+ABUfP//d96qAlqNdpKZTmecc9gsV4lUFzVkz54STc/tfxERfw1u/0RE/DW43dJbPOLxtxwREX8T4t/XeERtjYh4BdJoo726jdoa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wh9IPUPx7+iZJbxg4yZzZtPi2y84yLyTtSG/cQ7A7apxTtUuxcaF+VKlKWakkXpLsf6O186rF1NkVdDVZUTJGwbg9tazfLr7wwc1/PXatcOlxLTtL42DKjdnXa2qqurbNEfjpl0l0ohhQd3lW21U1e611e5cJpM4fazY7gJxhWj65twa6bIyXmXe9h3JQ76fdeSrq/pnShke0sb3r8Bz59U18/RbETq8auEjHdiwqpQ6cbRVXVJwPzttWuWnN/7ERpNu9d6mhK1qV2tu9Uyxf5dR35C15fXroRKkdo31NnSlZzq9+5tJ/xTJEJTE7vm0RWQU/+uAGyT8D7rebiM1iFvbsdwASSua2+nruEF10nfjukdMcMQTfXi2jV7J67FYk/IahYBbGWZLXE79PU7A6wQW0yJ3L/smmvOKmCsOtxqlbzDn0qyaF2oit4Z2BcDT78z8PWWZtI84n17ds3KcdsfbX/XrxNd6rls2jB+plXGsG2+EA7t11vLzfYTrTXjuSdpcZKCfap90/cMAD/CDhAbJv96dq6rgFJ9ed+V1PXJnJiUDcPXWavB0RWyW+naWPLxT7XOX3H5fJ5zlv3nf/fv8WF1+nyc7HvA58WwUDbOkv127fqNOWW2skBXPhhrkkk3ga4+T09XvFtUZVXVRNcE/2p9vXY9O2J7YcteAFC23wbldHU8Vtf4m7DxN2Gvidspor7+jLqya9h9Tle1sXb9Q0d2MVwjp1i7XrRlL8F/vXaN38v+Ipv9OmLtSjiuZ9TXV7fLfb8r5vTnc4n7rpc8rvdl7z6n62OMtevPt8v9VxrXy+lxpqctfmfmS4/xUpK15nR9cX2L+vrzLR2vUxOO6SGna1rMNNauf+S40H+yebWcHmcatTW2f0GLjI0ttthie67F2jUef80Ra9fYYu0aW2yxxRZbVNfYYosttqiuscUWW2z/CnV9gyPaaK9v/w8tggn+U7SjAwAAAABJRU5ErkJggg==" width="686" height="70" class="img_E7b_"></p><p>接着使用压缩包内的 <code>jsb-adapter</code> 替换掉编辑器的 <code>Resources/builtin/jsb-adapter</code> 目录。</p><p>最后使用压缩包内的 <code>adapters</code> 替换掉编辑器的 <code>Resources/builtin/adapters</code> 目录。</p><h2 class="anchor anchorWithStickyNavbar_mojV" id="安装支持性引擎扩展">安装支持性引擎扩展<a class="hash-link" href="#安装支持性引擎扩展" title="标题的直接链接"></a></h2><p>按照官方的 <a href="https://docs.cocos.com/creator/2.4/manual/zh/extension/install-and-share.html" target="_blank" rel="noopener noreferrer">扩展安装</a> 文档将压缩包内的 <code>extension</code> 目录放到项目的 <code>packages</code> 目录即可。</p><p>建议将 <code>extension</code> 目录重命名成一个更有意义的名字,比如 <code>enhance-kit</code></p><div class="admonition admonition-caution alert alert--warning"><div class="admonition-heading"><h5><span class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="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"></path></svg></span>注意</h5></div><div class="admonition-content"><ul><li>请勿将此引擎扩展与 <a href="/cocos-enhance-kit/docs/2.0.0/installation/installation-auto">一键安装</a> 中的付费引擎扩展混淆!</li><li>该扩展提供社区版运行所需的内置资源,是开源的一部分,<strong>请勿同时安装两个引擎扩展,这会引起冲突</strong></li><li>社区版会增加一个名称为 <code>sp</code> 的 AssetBundle 以存放内置资源,<strong>请确保你的项目未设置同名的 AssetBundle 引起冲突</strong></li><li>没有必要将这个 Asset Bundle 设为远程包或者 Zip 压缩,里面只有几个着色器资源。</li></ul></div></div><h2 class="anchor anchorWithStickyNavbar_mojV" id="typescript-类型提示可选">TypeScript 类型提示(可选)<a class="hash-link" href="#typescript-类型提示可选" title="标题的直接链接"></a></h2><p>如果你的项目使用 TypeScript可将压缩包内 <code>creator-sp.d.ts</code> 文件拷贝到项目根目录中以获取新的代码提示。</p><p><img loading="lazy" alt="dts" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsgAAACkCAMAAAC93ChMAAAAyVBMVEX09fX6+vr4+Pj5+fn39/f8/Pz7+/v////+/v729vb9/f39/v4nJyclJSXs7OzY2Nj8/f33+PjV1dXw8PD4+fno6OjR0dHc3Nz6+/vl5eXu7u7x8vL7/Pz5+vrg4eHq6ur09/rb29v09PSjo6N/f39DQ0M6OjpfX18wMDB00PisrKybm5uSkpLExMSIiIjKy8tNTU1WVlaE1fh1dXVoaGiZv829vb22t7dKjKYLj8wzn9EAfMTU5Opmxu+50txzprpfmbBXqtT19vZzUkZ+AAARkklEQVR42uzca3OiSBSAYWzUTtxunWjEERRWAaEUvJSO5sNWMv//V+3plgRjvMTgBeS8SbyNQKXqqZMWM1HabcusiernTqtrceJeHou/748b9ctUy3cSckOk/7jqgXT59TkrQc2zZJ2l6t6P+HuP0uPrfelHaxz80BsN+Xlixp0kIVdEpSOV91bYVber7ugZIrsrfqvHs1RM0lMUOdDzs7q3bmFnv0Xl/XVKh/v1XmV//3zt4U5CyAgZISNkhIyQETJCRsgIGSEjZISMkBEyQk5L7TZCRsgIGSEjZISMkBEyQkbICBkhI2SEjJARMkLeqDoMzS+QlTYhzWXNQMgI+TqQy4khzzl3NiHr9WXg+S4hI85DQq7nGMolZAghJ4cccM7njmxMoClfNyEeZw1CrukYuhnkbpogQwj5JMh9h8cxAi04NFiMWrrPB4FseNxxGiinG3LlYAj5RMjdz5AnU+Drygac+wRaBkPGR3BjyN/zrukYuhjk5+tD/oWQk0IuHIWsLRgM33B90mLO+Zisk5ANF4yLOF9c1zGUHcidBJATSM4e5NLlIK845AXTpYAccD5rECgYjxmfjYeBhP1UtBgPru0YQsj5gtxJALnocXcFXrlj6DCPpxYR+Vw287nbWC0WJnBfHnacGsrZhQwh5J+/1mvafVUd+mDY5dxtE5k7YJz78GqPL8UJuJrDuXULx9AdQQbH9zWSVa2QDshxpsuhBTiOWnDuwNWQ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1zinznhCWsy96f5rnGY0jNW9zqh1EtFMbG/bf40bIvhzAE8QGbVBno3IH1Fk5EX8ZBaKjLyWHzG0naIHx0aRkbP6WdnFrBf0GMEf+kYQTL2AoMiYDAc5ZzA9GfIiwISRCGY+RRAUGUFQZARBkREUeZfhHRRBzlfk4SUhCwm5QJWRsxV5OLj5R3Mzu0SVkTMV+dIGhb/AH+C/o4uhAtcayLmJTNwvwO0XxT9/27PFPYTgDI2cjcjjW8OXDjeDZ27yMAhdipwZp4tspw7tsHBub//actvhi31JnzUNYzFFzozTRU7DMKVtlMh/HeTWJfRppKuM/mRQ5BM4c5GbsGOyEvnb5z8+/9HD52+346eKHLOI/mxwaXGunL5GTrsmg8jgMdBvsrOgT0CLjCA/SeSuyVrkzwc87hF5aDsjeog3ln8FRVfkxbUzh3bD3LpQpT2Gso+FZc126u2LDtzxgBr6Bw09x3tHkZcqctdkLTKovP0L/DV0RX63FIyxqJbGOIzlVFIwVsgyrxLGklh+iogpSgo4MQOigEpGjKWbEurh+6tUwPDKpV30GbGzPaGpoCo2VDGqGbD2VkxIqRnLegZdqs8plpcUeaki040xWYsMJvfzrStyyO6IxkrkhmqRpdGB7kugIvQwaLYS3Z5RYM5YfddQZ0whPNrBTXQg15wgSSnwttKha5ZAlUDcvUHmc4YUebEiUwdM1jPXI0VeMlYG7qaGYk/kQcKi/I0HOleUen7FhO/bcAROr3IriO4cm0sHN36jJszUL0DLJd1lFEGb4yxh4AhOUANdF6riPaVXNcRP/QYKI3J3EM1g0MbdVLITebEi0ywM9X/w40S2wZM5BWpQtytyw9iGAkEck9YaOdQy+QlLhkq5xL9blzBLXj1ha7pLqKfVVDquTnB0M5QWY6X6SLUReW/QXA+alYxdUOSs+D/SnMQwPI+3xQAAAABJRU5ErkJggg==" width="712" height="164" class="img_E7b_"></p><p>部分代码编辑器可能需要重启之后类型提示才会生效。</p><h2 class="anchor anchorWithStickyNavbar_mojV" id="重启-cocos-creator">重启 Cocos Creator<a class="hash-link" href="#重启-cocos-creator" title="标题的直接链接"></a></h2><p>完成以上的步骤后重启 Cocos Creator。</p><p>你可以运行项目并检查 Console 是否有打印类似 <code>Cocos Creator SP v2.4.x</code> 的日志,有的话则已经成功安装。</p><p><img loading="lazy" alt="installedconsole" src="/cocos-enhance-kit/assets/images/installed-console-35205b4816104fc7211e69cda86c1b76.png" width="1081" height="241" class="img_E7b_"></p><p>接下来推荐你继续阅读文档中剩下的内容以了解你能够使用的新特性!</p><p>如果编辑器输出了一条有关包体大小的警告,请阅读 <a href="/cocos-enhance-kit/docs/2.0.0/user-guide/multithread/thread-intro#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9">多线程支持</a> 了解详情。</p></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="文档分页导航"><a class="pagination-nav__link pagination-nav__link--prev" href="/cocos-enhance-kit/docs/2.0.0/installation/installation-auto"><div class="pagination-nav__sublabel">上一页</div><div class="pagination-nav__label">一键安装</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/cocos-enhance-kit/docs/2.0.0/best-practices/performance-guide"><div class="pagination-nav__sublabel">下一页</div><div class="pagination-nav__label">提升游戏性能</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_cNA8 thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#下载并解压" class="table-of-contents__link toc-highlight">下载并解压</a></li><li><a href="#替换自定义引擎" class="table-of-contents__link toc-highlight">替换自定义引擎</a></li><li><a href="#安装支持性引擎扩展" class="table-of-contents__link toc-highlight">安装支持性引擎扩展</a></li><li><a href="#typescript-类型提示可选" class="table-of-contents__link toc-highlight">TypeScript 类型提示(可选)</a></li><li><a href="#重启-cocos-creator" class="table-of-contents__link toc-highlight">重启 Cocos Creator</a></li></ul></div></div></div></div></main></div></div></div>
<script src="/cocos-enhance-kit/assets/js/runtime~main.e047e124.js"></script>
<script src="/cocos-enhance-kit/assets/js/main.a7d7118a.js"></script>
</body>
</html>