diff --git a/404.html b/404.html index b0e6086ee..8da308be2 100644 --- a/404.html +++ b/404.html @@ -9,13 +9,13 @@ - +
跳到主要内容

找不到页面

我们找不到您要找的页面。

请联系原始链接来源网站的所有者,并告知他们链接已损坏。

- + \ No newline at end of file diff --git a/assets/js/099d81ac.4adddda8.js b/assets/js/099d81ac.d7692a9b.js similarity index 95% rename from assets/js/099d81ac.4adddda8.js rename to assets/js/099d81ac.d7692a9b.js index 63a640ba8..fc5b74981 100644 --- a/assets/js/099d81ac.4adddda8.js +++ b/assets/js/099d81ac.d7692a9b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[1977],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>b});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(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 o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},m="mdxType",c={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,l=e.mdxType,a=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),m=u(r),d=l,b=m["".concat(s,".").concat(d)]||m[d]||c[d]||a;return r?n.createElement(b,o(o({ref:t},p),{},{components:r})):n.createElement(b,o({ref:t},p))}));function b(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[m]="string"==typeof e?e:l,o[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(7462),l=(r(7294),r(3905));const a={},o="\u70ed\u91cd\u8f7d\u6280\u672f",i={unversionedId:"business/reload/hotreloadassembly",id:"business/reload/hotreloadassembly",title:"\u70ed\u91cd\u8f7d\u6280\u672f",description:"\u70ed\u91cd\u8f7d\u6280\u672f\u7528\u4e8e\u5b8c\u5168\u5378\u8f7d\u6216\u8005\u91cd\u65b0\u52a0\u8f7d\u4e00\u4e2aassembly\uff0c\u9002\u7528\u4e8e\u5c0f\u6e38\u620f\u5408\u96c6\u7c7b\u578b\u7684\u6e38\u620f\u3002\u8be5\u65b9\u6848\u53ea\u63d0\u4f9b\u5546\u4e1a\u5316\u7248\u672c\u3002",source:"@site/docs/business/reload/hotreloadassembly.md",sourceDirName:"business/reload",slug:"/business/reload/hotreloadassembly",permalink:"/docs/business/reload/hotreloadassembly",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"\u5feb\u901f\u4e0a\u624b",permalink:"/docs/business/reload/quickstart"},next:{title:"\u514d\u8d39\u8bd5\u7528",permalink:"/docs/business/reload/freetrial"}},s={},u=[{value:"\u652f\u6301\u7684\u7279\u6027",id:"\u652f\u6301\u7684\u7279\u6027",level:2},{value:"\u4e0d\u652f\u6301\u7279\u6027\u53ca\u7279\u6b8a\u8981\u6c42",id:"\u4e0d\u652f\u6301\u7279\u6027\u53ca\u7279\u6b8a\u8981\u6c42",level:2},{value:"\u4e00\u4e9b\u4e0d\u517c\u5bb9\u7684\u5e93",id:"\u4e00\u4e9b\u4e0d\u517c\u5bb9\u7684\u5e93",level:2},{value:"\u89e3\u51b3\u88ab\u5378\u8f7d\u5bf9\u8c61\u7684\u5f15\u7528\u95ee\u9898",id:"\u89e3\u51b3\u88ab\u5378\u8f7d\u5bf9\u8c61\u7684\u5f15\u7528\u95ee\u9898",level:2}],p={toc:u},m="wrapper";function c(e){let{components:t,...r}=e;return(0,l.kt)(m,(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.kt)("h1",{id:"\u70ed\u91cd\u8f7d\u6280\u672f"},"\u70ed\u91cd\u8f7d\u6280\u672f"),(0,l.kt)("p",null,"\u70ed\u91cd\u8f7d\u6280\u672f\u7528\u4e8e\u5b8c\u5168\u5378\u8f7d\u6216\u8005\u91cd\u65b0\u52a0\u8f7d\u4e00\u4e2aassembly\uff0c\u9002\u7528\u4e8e\u5c0f\u6e38\u620f\u5408\u96c6\u7c7b\u578b\u7684\u6e38\u620f\u3002\u8be5\u65b9\u6848\u53ea\u63d0\u4f9b",(0,l.kt)("strong",{parentName:"p"},"\u5546\u4e1a\u5316\u7248\u672c"),"\u3002"),(0,l.kt)("h2",{id:"\u652f\u6301\u7684\u7279\u6027"},"\u652f\u6301\u7684\u7279\u6027"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u652f\u6301\u5378\u8f7dassembly\uff0c\u5378\u8f7d100%\u7684assembly\u6240\u5360\u7528\u7684\u5185\u5b58"),(0,l.kt)("li",{parentName:"ul"},"\u652f\u6301\u91cd\u65b0\u52a0\u8f7dassembly\uff0c\u4ee3\u7801\u53ef\u4ee5\u4efb\u610f\u53d8\u5316\u751a\u81f3\u5b8c\u5168\u4e0d\u540c\uff08MonoBehaviour\u548cScriptable\u6709\u4e00\u5b9a\u7684\u9650\u5236\uff09"),(0,l.kt)("li",{parentName:"ul"},"\u652f\u6301",(0,l.kt)("strong",{parentName:"li"},"\u9650\u5b9a\u70ed\u66f4\u65b0assembly\u4e2d\u80fd\u8bbf\u95ee\u7684\u51fd\u6570\u7684\u96c6\u5408"),"\uff0c\u9002\u5408UGC\u6e38\u620f\u4e2d\u521b\u5efa\u6c99\u76d2\u73af\u5883\uff0c\u907f\u514d\u6076\u610f\u73a9\u5bb6\u4ee3\u7801\u9020\u6210\u7834\u574f\u3002")),(0,l.kt)("h2",{id:"\u4e0d\u652f\u6301\u7279\u6027\u53ca\u7279\u6b8a\u8981\u6c42"},"\u4e0d\u652f\u6301\u7279\u6027\u53ca\u7279\u6b8a\u8981\u6c42"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u8981\u6c42\u4e1a\u52a1\u4ee3\u7801\u4e0d\u4f1a\u518d\u4f7f\u7528\u88ab\u5378\u8f7d\u7684Assembly\u4e2d\u7684\u5bf9\u8c61\u6216\u8005\u51fd\u6570\uff0c\u5e76\u4e14\u9000\u51fa\u6240\u6709\u5728\u6267\u884c\u7684\u65e7\u903b\u8f91"),(0,l.kt)("li",{parentName:"ul"},"\u4e0d\u80fd\u76f4\u63a5\u5378\u8f7d\u88ab\u4f9d\u8d56\u7684Assembly\uff0c\u5fc5\u987b\u6309\u7167\u9006\u4f9d\u8d56\u987a\u5e8f\u5148\u5378\u8f7d\u4f9d\u8d56\u8005\uff0c\u518d\u5378\u8f7d\u88ab\u4f9d\u8d56\u8005\u3002\u4f8b\u5982A.dll\u4f9d\u8d56B.dll\uff0c\u5219\u9700\u8981\u5148\u5378\u8f7dA.dll\uff0c\u518d\u5378\u8f7dB.dll"),(0,l.kt)("li",{parentName:"ul"},"MonoBehaviour\u548cScriptableObject\u76f8\u5173",(0,l.kt)("ul",{parentName:"li"},(0,l.kt)("li",{parentName:"ul"},"\u8981\u6c42\u91cd\u8f7d\u7684MonoBehaviour\u4e2d\u7684\u4e8b\u4ef6\u6216\u6d88\u606f\u51fd\u6570\u5982Awake\u3001OnEable\u4e4b\u7c7b\u4e0d\u53d1\u751f\u589e\u5220\uff08\u4f46\u51fd\u6570\u4f53\u53ef\u4ee5\u53d8\u5316\uff09"),(0,l.kt)("li",{parentName:"ul"},"\u8981\u6c42\u91cd\u8f7d\u540e\u5728\u65e7Assembly\u4e2d\u5b58\u5728\u540c\u540d\u811a\u672c\u7c7b\u7684\u5e8f\u5217\u5316\u5b57\u6bb5\u540d\u4e0d\u53d1\u751f\u53d8\u5316\uff08\u7c7b\u578b\u53ef\u4ee5\u53d8\uff09"),(0,l.kt)("li",{parentName:"ul"},"\u4e0d\u80fd\u7ee7\u627f\u6cdb\u578b\u7c7b\u578b\uff0c\u4f8b\u5982",(0,l.kt)("inlineCode",{parentName:"li"},"class MyScript : CommonScript")))),(0,l.kt)("li",{parentName:"ul"},"\u4e00\u4e9b\u4f1a\u7f13\u5b58\u53cd\u5c04\u4fe1\u606f\u7684\u5e93\uff08\u8fd9\u79cd\u884c\u4e3a\u5728\u5e8f\u5217\u5316\u76f8\u5173\u7684\u5e93\u4e2d\u6700\u4e3a\u666e\u904d\uff0c\u5982LitJson\uff09\uff0c\u5728\u70ed\u91cd\u8f7d\u540e\u9700\u8981\u6e05\u7406\u6389\u7f13\u5b58\u7684\u53cd\u5c04\u4fe1\u606f"),(0,l.kt)("li",{parentName:"ul"},"\u4e0d\u652f\u6301\u6790\u6784\u51fd\u6570\uff0c~XXX()\u3002\u4e5f\u4e0d\u5141\u8bb8\u5b9e\u4f8b\u5316\u6cdb\u578b\u53c2\u6570\u5e26\u672c\u7a0b\u5e8f\u96c6\u7c7b\u578b\u7684\u5e26\u6790\u6784\u51fd\u6570\u7684\u6cdb\u578b\u7c7b"),(0,l.kt)("li",{parentName:"ul"},"\u4e0edots\u4e0d\u517c\u5bb9\u3002\u7531\u4e8edots\u5927\u91cf\u7f13\u5b58\u7684\u7c7b\u578b\u4fe1\u606f\uff0c\u5b9e\u73b0\u590d\u6742\uff0c\u5f88\u96be\u5355\u72ec\u6e05\u7406\u6389\u7f13\u5b58\u4fe1\u606f\u3002")),(0,l.kt)("h2",{id:"\u4e00\u4e9b\u4e0d\u517c\u5bb9\u7684\u5e93"},"\u4e00\u4e9b\u4e0d\u517c\u5bb9\u7684\u5e93"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"2022\u7684Jobs\u4f1a\u7f13\u5b58\u7c7b\u578b\u76f8\u5173\u4fe1\u606f\uff0c\u9700\u8981\u81ea\u884c\u5c0f\u5e45",(0,l.kt)("a",{parentName:"li",href:"/docs/business/reload/modifydll"},"\u4fee\u6539UnityEngine.CoreModule.dll"),"\u7684\u4ee3\u7801\u3002 \u4f4e\u4e8e2022\u7684\u7248\u672c\u4e0d\u9700\u8981\u4fee\u6539"),(0,l.kt)("li",{parentName:"ul"},"LitJson\u4e4b\u7c7b\u7684\u53cd\u5e8f\u5217\u5316\u5e93\u4f1a\u7f13\u5b58\u53cd\u5c04\u4fe1\u606f\uff0c\u9700\u8981\u5728\u70ed\u91cd\u8f7d\u540e\u6e05\u7406\u6389\u5e93\u4e2d\u7f13\u5b58\u7684\u53cd\u5c04\u4fe1\u606f\uff0c\u5177\u4f53\u64cd\u4f5c\u8ddf\u5e93\u7684\u5b9e\u73b0\u76f8\u5173")),(0,l.kt)("h2",{id:"\u89e3\u51b3\u88ab\u5378\u8f7d\u5bf9\u8c61\u7684\u5f15\u7528\u95ee\u9898"},"\u89e3\u51b3\u88ab\u5378\u8f7d\u5bf9\u8c61\u7684\u5f15\u7528\u95ee\u9898"),(0,l.kt)("p",null,"\u70ed\u91cd\u8f7d\u6280\u672f\u8981\u6c42\u5728\u672a\u5378\u8f7d\u7684\u7a0b\u5e8f\u96c6\u6216\u8005\u5168\u5c40\u5185\u5b58\u4e2d\u4e0d\u80fd\u6301\u6709\u5df2\u5378\u8f7d\u7684\u7a0b\u5e8f\u96c6U\u7684\u5143\u6570\u636e\u3002\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u7684\u7c7b\u578b\u7684\u5b9e\u4f8b"),(0,l.kt)("li",{parentName:"ul"},"\u6cdb\u578b\u7c7b\u6216\u8005\u51fd\u6570\u7684\u6cdb\u578b\u53c2\u6570\u4e2d\u5305\u542b\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u7684\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u76f8\u5173\u7684\u53cd\u5c04\u4fe1\u606f\uff0c\u5982Assembly\u3001Type\u3001MethodInfo\u3001PropertyInfo\u7b49\u7b49"),(0,l.kt)("li",{parentName:"ul"},"\u6307\u5411\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u4e2d\u67d0\u51fd\u6570\u7684delegate"),(0,l.kt)("li",{parentName:"ul"},"\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u4e2d\u5b9a\u4e49\u7684\u5f02\u6b65Task"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6")),(0,l.kt)("p",null,"\u5b9e\u9645\u5de5\u7a0b\u53ef\u80fd\u5f88\u590d\u6742\uff0c\u5f00\u53d1\u8005\u627e\u51fa\u6240\u6709\u975e\u6cd5\u5f15\u7528\u662f\u5f88\u56f0\u96be\u548c\u4e0d\u5207\u5b9e\u9645\u7684\u3002\u6211\u4eec\u5df2\u7ecf\u5b9e\u73b0\u4e86\u975e\u6cd5\u5f15\u7528\u68c0\u67e5\uff0c\u5728\u8c03\u7528",(0,l.kt)("inlineCode",{parentName:"p"},"RuntimeApi.UnloadAssembly"),"\u65f6\n\u4f1a\u6253\u5370\u51fa\u6240\u6709\u975e\u6cd5\u5f15\u7528\u7684\u65e5\u5fd7\u3002\u5f00\u53d1\u8005\u6839\u636e\u6253\u5370\u7684\u65e5\u5fd7\u6e05\u9664\u6240\u6709\u975e\u6cd5\u5f15\u7528\u5373\u53ef\u3002"),(0,l.kt)("p",null,"\u7531\u4e8e\u975e\u6cd5\u5f15\u7528\u68c0\u67e5\u4f1a\u904d\u5386\u6240\u6709\u5b58\u6d3b\u5bf9\u8c61\uff0c\u6bd4\u8f83\u8017\u65f6\uff0c\u56e0\u6b64\u53ea\u5728Il2Cpp\u7f16\u8bd1\u9009\u9879\u4e3aDebug\u65f6\u5f00\u542f\u4e86\u6b64\u68c0\u67e5\uff0c\u800cRelease\u6a21\u5f0f\u4e0b\u5173\u95ed\u4e86\u68c0\u67e5\u3002\u53ef\u4ee5\u4f7f\u7528\n",(0,l.kt)("inlineCode",{parentName:"p"},"RuntimeApi.EnableLiveObjectValidation(true)"),"\u5f3a\u884c\u5728Release\u7f16\u8bd1\u6a21\u5f0f\u4e0b\u5f00\u542f\u8fd9\u4e2a\u68c0\u67e5\u3002"))}c.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[1977],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>b});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(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 o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},m="mdxType",c={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,l=e.mdxType,a=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),m=u(r),d=l,b=m["".concat(s,".").concat(d)]||m[d]||c[d]||a;return r?n.createElement(b,o(o({ref:t},p),{},{components:r})):n.createElement(b,o({ref:t},p))}));function b(e,t){var r=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=r.length,o=new Array(a);o[0]=d;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[m]="string"==typeof e?e:l,o[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var n=r(7462),l=(r(7294),r(3905));const a={},o="\u70ed\u91cd\u8f7d\u6280\u672f",i={unversionedId:"business/reload/hotreloadassembly",id:"business/reload/hotreloadassembly",title:"\u70ed\u91cd\u8f7d\u6280\u672f",description:"\u70ed\u91cd\u8f7d\u6280\u672f\u7528\u4e8e\u5b8c\u5168\u5378\u8f7d\u6216\u8005\u91cd\u65b0\u52a0\u8f7d\u4e00\u4e2aassembly\uff0c\u9002\u7528\u4e8e\u5c0f\u6e38\u620f\u5408\u96c6\u7c7b\u578b\u7684\u6e38\u620f\u3002\u8be5\u65b9\u6848\u53ea\u63d0\u4f9b\u5546\u4e1a\u5316\u7248\u672c\u3002",source:"@site/docs/business/reload/hotreloadassembly.md",sourceDirName:"business/reload",slug:"/business/reload/hotreloadassembly",permalink:"/docs/business/reload/hotreloadassembly",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"\u5feb\u901f\u4e0a\u624b",permalink:"/docs/business/reload/quickstart"},next:{title:"\u514d\u8d39\u8bd5\u7528",permalink:"/docs/business/reload/freetrial"}},s={},u=[{value:"\u652f\u6301\u7684\u7279\u6027",id:"\u652f\u6301\u7684\u7279\u6027",level:2},{value:"\u4e0d\u652f\u6301\u7279\u6027\u53ca\u7279\u6b8a\u8981\u6c42",id:"\u4e0d\u652f\u6301\u7279\u6027\u53ca\u7279\u6b8a\u8981\u6c42",level:2},{value:"\u4e00\u4e9b\u4e0d\u517c\u5bb9\u7684\u5e93",id:"\u4e00\u4e9b\u4e0d\u517c\u5bb9\u7684\u5e93",level:2},{value:"\u89e3\u51b3\u88ab\u5378\u8f7d\u5bf9\u8c61\u7684\u5f15\u7528\u95ee\u9898",id:"\u89e3\u51b3\u88ab\u5378\u8f7d\u5bf9\u8c61\u7684\u5f15\u7528\u95ee\u9898",level:2}],p={toc:u},m="wrapper";function c(e){let{components:t,...r}=e;return(0,l.kt)(m,(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,l.kt)("h1",{id:"\u70ed\u91cd\u8f7d\u6280\u672f"},"\u70ed\u91cd\u8f7d\u6280\u672f"),(0,l.kt)("p",null,"\u70ed\u91cd\u8f7d\u6280\u672f\u7528\u4e8e\u5b8c\u5168\u5378\u8f7d\u6216\u8005\u91cd\u65b0\u52a0\u8f7d\u4e00\u4e2aassembly\uff0c\u9002\u7528\u4e8e\u5c0f\u6e38\u620f\u5408\u96c6\u7c7b\u578b\u7684\u6e38\u620f\u3002\u8be5\u65b9\u6848\u53ea\u63d0\u4f9b",(0,l.kt)("strong",{parentName:"p"},"\u5546\u4e1a\u5316\u7248\u672c"),"\u3002"),(0,l.kt)("h2",{id:"\u652f\u6301\u7684\u7279\u6027"},"\u652f\u6301\u7684\u7279\u6027"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u652f\u6301\u5378\u8f7dassembly\uff0c\u5378\u8f7d100%\u7684assembly\u6240\u5360\u7528\u7684\u5185\u5b58"),(0,l.kt)("li",{parentName:"ul"},"\u652f\u6301\u91cd\u65b0\u52a0\u8f7dassembly\uff0c\u4ee3\u7801\u53ef\u4ee5\u4efb\u610f\u53d8\u5316\u751a\u81f3\u5b8c\u5168\u4e0d\u540c\uff08MonoBehaviour\u548cScriptable\u6709\u4e00\u5b9a\u7684\u9650\u5236\uff09"),(0,l.kt)("li",{parentName:"ul"},"\u652f\u6301",(0,l.kt)("strong",{parentName:"li"},"\u9650\u5b9a\u70ed\u66f4\u65b0assembly\u4e2d\u80fd\u8bbf\u95ee\u7684\u51fd\u6570\u7684\u96c6\u5408"),"\uff0c\u9002\u5408UGC\u6e38\u620f\u4e2d\u521b\u5efa\u6c99\u76d2\u73af\u5883\uff0c\u907f\u514d\u6076\u610f\u73a9\u5bb6\u4ee3\u7801\u9020\u6210\u7834\u574f\u3002")),(0,l.kt)("h2",{id:"\u4e0d\u652f\u6301\u7279\u6027\u53ca\u7279\u6b8a\u8981\u6c42"},"\u4e0d\u652f\u6301\u7279\u6027\u53ca\u7279\u6b8a\u8981\u6c42"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u8981\u6c42\u4e1a\u52a1\u4ee3\u7801\u4e0d\u4f1a\u518d\u4f7f\u7528\u88ab\u5378\u8f7d\u7684Assembly\u4e2d\u7684\u5bf9\u8c61\u6216\u8005\u51fd\u6570\uff0c\u5e76\u4e14\u9000\u51fa\u6240\u6709\u5728\u6267\u884c\u7684\u65e7\u903b\u8f91"),(0,l.kt)("li",{parentName:"ul"},"\u4e0d\u80fd\u76f4\u63a5\u5378\u8f7d\u88ab\u4f9d\u8d56\u7684Assembly\uff0c\u5fc5\u987b\u6309\u7167\u9006\u4f9d\u8d56\u987a\u5e8f\u5148\u5378\u8f7d\u4f9d\u8d56\u8005\uff0c\u518d\u5378\u8f7d\u88ab\u4f9d\u8d56\u8005\u3002\u4f8b\u5982A.dll\u4f9d\u8d56B.dll\uff0c\u5219\u9700\u8981\u5148\u5378\u8f7dA.dll\uff0c\u518d\u5378\u8f7dB.dll"),(0,l.kt)("li",{parentName:"ul"},"MonoBehaviour\u548cScriptableObject\u76f8\u5173",(0,l.kt)("ul",{parentName:"li"},(0,l.kt)("li",{parentName:"ul"},"\u8981\u6c42\u91cd\u8f7d\u7684MonoBehaviour\u4e2d\u7684\u4e8b\u4ef6\u6216\u6d88\u606f\u51fd\u6570\u5982Awake\u3001OnEable\u4e4b\u7c7b\u4e0d\u53d1\u751f\u589e\u5220\uff08\u4f46\u51fd\u6570\u4f53\u53ef\u4ee5\u53d8\u5316\uff09"),(0,l.kt)("li",{parentName:"ul"},"\u8981\u6c42\u91cd\u8f7d\u540e\u5728\u65e7Assembly\u4e2d\u5b58\u5728\u540c\u540d\u811a\u672c\u7c7b\u7684\u5e8f\u5217\u5316\u5b57\u6bb5\u540d\u4e0d\u53d1\u751f\u53d8\u5316\uff08\u7c7b\u578b\u53ef\u4ee5\u53d8\uff09"),(0,l.kt)("li",{parentName:"ul"},"\u4e0d\u80fd\u7ee7\u627f\u6cdb\u578b\u7c7b\u578b\uff0c\u4f8b\u5982",(0,l.kt)("inlineCode",{parentName:"li"},"class MyScript : CommonScript")))),(0,l.kt)("li",{parentName:"ul"},"\u4e00\u4e9b\u4f1a\u7f13\u5b58\u53cd\u5c04\u4fe1\u606f\u7684\u5e93\uff08\u8fd9\u79cd\u884c\u4e3a\u5728\u5e8f\u5217\u5316\u76f8\u5173\u7684\u5e93\u4e2d\u6700\u4e3a\u666e\u904d\uff0c\u5982LitJson\uff09\uff0c\u5728\u70ed\u91cd\u8f7d\u540e\u9700\u8981\u6e05\u7406\u6389\u7f13\u5b58\u7684\u53cd\u5c04\u4fe1\u606f"),(0,l.kt)("li",{parentName:"ul"},"\u4e0d\u652f\u6301\u6790\u6784\u51fd\u6570\uff0c~XXX()\u3002\u4e5f\u4e0d\u5141\u8bb8\u5b9e\u4f8b\u5316\u6cdb\u578b\u53c2\u6570\u5e26\u672c\u7a0b\u5e8f\u96c6\u7c7b\u578b\u7684\u5e26\u6790\u6784\u51fd\u6570\u7684\u6cdb\u578b\u7c7b"),(0,l.kt)("li",{parentName:"ul"},"\u4e0edots\u4e0d\u517c\u5bb9\u3002\u7531\u4e8edots\u5927\u91cf\u7f13\u5b58\u7684\u7c7b\u578b\u4fe1\u606f\uff0c\u5b9e\u73b0\u590d\u6742\uff0c\u5f88\u96be\u5355\u72ec\u6e05\u7406\u6389\u7f13\u5b58\u4fe1\u606f\u3002")),(0,l.kt)("h2",{id:"\u4e00\u4e9b\u4e0d\u517c\u5bb9\u7684\u5e93"},"\u4e00\u4e9b\u4e0d\u517c\u5bb9\u7684\u5e93"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"2022\u7684Jobs\u4f1a\u7f13\u5b58\u7c7b\u578b\u76f8\u5173\u4fe1\u606f\uff0c\u9700\u8981\u81ea\u884c\u5c0f\u5e45",(0,l.kt)("a",{parentName:"li",href:"/docs/business/reload/modifydll"},"\u4fee\u6539UnityEngine.CoreModule.dll"),"\u7684\u4ee3\u7801\u3002 \u4f4e\u4e8e2022\u7684\u7248\u672c\u4e0d\u9700\u8981\u4fee\u6539"),(0,l.kt)("li",{parentName:"ul"},"LitJson\u4e4b\u7c7b\u7684\u53cd\u5e8f\u5217\u5316\u5e93\u4f1a\u7f13\u5b58\u53cd\u5c04\u4fe1\u606f\uff0c\u9700\u8981\u5728\u70ed\u91cd\u8f7d\u540e\u6e05\u7406\u6389\u5e93\u4e2d\u7f13\u5b58\u7684\u53cd\u5c04\u4fe1\u606f\uff0c\u5177\u4f53\u64cd\u4f5c\u8ddf\u5e93\u7684\u5b9e\u73b0\u76f8\u5173")),(0,l.kt)("h2",{id:"\u89e3\u51b3\u88ab\u5378\u8f7d\u5bf9\u8c61\u7684\u5f15\u7528\u95ee\u9898"},"\u89e3\u51b3\u88ab\u5378\u8f7d\u5bf9\u8c61\u7684\u5f15\u7528\u95ee\u9898"),(0,l.kt)("p",null,"\u70ed\u91cd\u8f7d\u6280\u672f\u8981\u6c42\u5728\u672a\u5378\u8f7d\u7684\u7a0b\u5e8f\u96c6\u6216\u8005\u5168\u5c40\u5185\u5b58\u4e2d\u4e0d\u80fd\u6301\u6709\u5df2\u5378\u8f7d\u7684\u7a0b\u5e8f\u96c6U\u7684\u5143\u6570\u636e\u3002\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\uff1a"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u7684\u7c7b\u578b\u7684\u5b9e\u4f8b"),(0,l.kt)("li",{parentName:"ul"},"\u6cdb\u578b\u7c7b\u6216\u8005\u51fd\u6570\u7684\u6cdb\u578b\u53c2\u6570\u4e2d\u5305\u542b\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u7684\u7c7b\u578b"),(0,l.kt)("li",{parentName:"ul"},"\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u76f8\u5173\u7684\u53cd\u5c04\u4fe1\u606f\uff0c\u5982Assembly\u3001Type\u3001MethodInfo\u3001PropertyInfo\u7b49\u7b49"),(0,l.kt)("li",{parentName:"ul"},"\u6307\u5411\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u4e2d\u67d0\u51fd\u6570\u7684delegate"),(0,l.kt)("li",{parentName:"ul"},"\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u4e2d\u5b9a\u4e49\u7684\u5f02\u6b65Task"),(0,l.kt)("li",{parentName:"ul"},"\u5176\u4ed6")),(0,l.kt)("p",null,"\u5b9e\u9645\u5de5\u7a0b\u53ef\u80fd\u5f88\u590d\u6742\uff0c\u5f00\u53d1\u8005\u627e\u51fa\u6240\u6709\u975e\u6cd5\u5f15\u7528\u662f\u5f88\u56f0\u96be\u548c\u4e0d\u5207\u5b9e\u9645\u7684\u3002\u6211\u4eec\u5df2\u7ecf\u5b9e\u73b0\u4e86\u975e\u6cd5\u5f15\u7528\u68c0\u67e5\uff0c\u5728\u8c03\u7528",(0,l.kt)("inlineCode",{parentName:"p"},"RuntimeApi.UnloadAssembly"),"\u65f6\n\u4f1a\u6253\u5370\u51fa\u6240\u6709\u975e\u6cd5\u5f15\u7528\u7684\u65e5\u5fd7\u3002\u5f00\u53d1\u8005\u6839\u636e\u6253\u5370\u7684\u65e5\u5fd7\u6e05\u9664\u6240\u6709\u975e\u6cd5\u5f15\u7528\u5373\u53ef\u3002"),(0,l.kt)("p",null,"\u7531\u4e8e\u975e\u6cd5\u5f15\u7528\u68c0\u67e5\u4f1a\u904d\u5386\u6240\u6709\u5b58\u6d3b\u5bf9\u8c61\uff0c\u6bd4\u8f83\u8017\u65f6\uff0c\u6b63\u5f0f\u7248\u672c\u53ef\u4ee5\u53ef\u4ee5\u4f7f\u7528",(0,l.kt)("inlineCode",{parentName:"p"},"RuntimeApi.EnableLiveObjectValidation(false)"),"\u7981\u7528\u8fd9\u4e2a\u68c0\u67e5\u3002"))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/72413e93.3edf80c7.js b/assets/js/72413e93.3edf80c7.js new file mode 100644 index 000000000..513753464 --- /dev/null +++ b/assets/js/72413e93.3edf80c7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[1198],{3905:(e,t,i)=>{i.d(t,{Zo:()=>d,kt:()=>s});var l=i(7294);function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function r(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,l)}return i}function a(e){for(var t=1;t=0||(n[i]=e[i]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}var o=l.createContext({}),c=function(e){var t=l.useContext(o),i=t;return e&&(i="function"==typeof e?e(t):a(a({},t),e)),i},d=function(e){var t=c(e.components);return l.createElement(o.Provider,{value:t},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return l.createElement(l.Fragment,{},t)}},b=l.forwardRef((function(e,t){var i=e.components,n=e.mdxType,r=e.originalType,o=e.parentName,d=p(e,["components","mdxType","originalType","parentName"]),u=c(i),b=n,s=u["".concat(o,".").concat(b)]||u[b]||m[b]||r;return i?l.createElement(s,a(a({ref:t},d),{},{components:i})):l.createElement(s,a({ref:t},d))}));function s(e,t){var i=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var r=i.length,a=new Array(r);a[0]=b;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p[u]="string"==typeof e?e:n,a[1]=p;for(var c=2;c{i.r(t),i.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>m,frontMatter:()=>r,metadata:()=>p,toc:()=>c});var l=i(7462),n=(i(7294),i(3905));const r={},a="\u6253\u5305\u5de5\u4f5c\u6d41",p={unversionedId:"basic/buildpipeline",id:"basic/buildpipeline",title:"\u6253\u5305\u5de5\u4f5c\u6d41",description:"\u7531\u4e8e\u70ed\u66f4\u65b0\u672c\u8eab\u7684\u8981\u6c42\u4ee5\u53caUnity\u8d44\u6e90\u7ba1\u7406\u7684\u4e00\u4e9b\u9650\u5236\uff0c\u5bf9\u6253\u5305\u5de5\u4f5c\u6d41\u9700\u8981\u4e00\u4e9b\u7279\u6b8a\u5904\u7406\uff0c\u4e3b\u8981\u5206\u4e3a\u51e0\u90e8\u5206\uff1a",source:"@site/docs/basic/buildpipeline.md",sourceDirName:"basic",slug:"/basic/buildpipeline",permalink:"/docs/basic/buildpipeline",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"\u52a0\u8f7d\u548c\u8fd0\u884c",permalink:"/docs/basic/runhotupdatecodes"},next:{title:"\u53d1\u5e03WebGL\u5e73\u53f0",permalink:"/docs/basic/buildwebgl"}},o={},c=[{value:"\u6253\u5305\u6d41\u7a0b",id:"\u6253\u5305\u6d41\u7a0b",level:2},{value:"\u4f18\u5316\u7684\u6253\u5305\u6d41\u7a0b",id:"\u4f18\u5316\u7684\u6253\u5305\u6d41\u7a0b",level:2},{value:"iOS\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406",id:"ios\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406",level:2},{value:"\u5f53 com.code-philosophy.hybridclr \u7248\u672c \u2265 v3.2.0",id:"\u5f53-comcode-philosophyhybridclr-\u7248\u672c--v320",level:3},{value:"\u5f53 com.code-philosophy.hybridclr \u7248\u672c < v3.2.0",id:"\u5f53-comcode-philosophyhybridclr-\u7248\u672c--v320-1",level:3},{value:"\u7f16\u8bd1 libil2cpp.a",id:"\u7f16\u8bd1-libil2cppa",level:3},{value:"\u5e38\u89c1\u9519\u8bef",id:"\u5e38\u89c1\u9519\u8bef",level:2}],d={toc:c},u="wrapper";function m(e){let{components:t,...i}=e;return(0,n.kt)(u,(0,l.Z)({},d,i,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"\u6253\u5305\u5de5\u4f5c\u6d41"},"\u6253\u5305\u5de5\u4f5c\u6d41"),(0,n.kt)("p",null,"\u7531\u4e8e\u70ed\u66f4\u65b0\u672c\u8eab\u7684\u8981\u6c42\u4ee5\u53caUnity\u8d44\u6e90\u7ba1\u7406\u7684\u4e00\u4e9b\u9650\u5236\uff0c\u5bf9\u6253\u5305\u5de5\u4f5c\u6d41\u9700\u8981\u4e00\u4e9b\u7279\u6b8a\u5904\u7406\uff0c\u4e3b\u8981\u5206\u4e3a\u51e0\u90e8\u5206\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u8bbe\u7f6eUNITY_IL2CPP_PATH\u73af\u5883\u53d8\u91cf"),(0,n.kt)("li",{parentName:"ul"},"\u6253\u5305\u65f6\u81ea\u52a8\u6392\u9664\u70ed\u66f4\u65b0assembly"),(0,n.kt)("li",{parentName:"ul"},"\u6253\u5305\u65f6\u5c06\u70ed\u66f4\u65b0dll\u540d\u6dfb\u52a0\u5230assembly\u5217\u8868"),(0,n.kt)("li",{parentName:"ul"},"\u5c06\u6253\u5305\u8fc7\u7a0b\u4e2d\u751f\u6210\u7684\u88c1\u526a\u540e\u7684aot dll\u62f7\u8d1d\u51fa\u6765\uff0c\u4f9b\u8865\u5145\u5143\u6570\u636e\u4f7f\u7528"),(0,n.kt)("li",{parentName:"ul"},"\u7f16\u8bd1\u70ed\u66f4\u65b0dll"),(0,n.kt)("li",{parentName:"ul"},"\u751f\u6210\u4e00\u4e9b\u6253\u5305\u9700\u8981\u7684\u6587\u4ef6\u548c\u4ee3\u7801"),(0,n.kt)("li",{parentName:"ul"},"iOS\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406")),(0,n.kt)("p",null,"\u624b\u52a8\u64cd\u4f5c\u8fd9\u4e9b\u662f\u70e6\u7410\u6613\u9519\u7684\uff0c",(0,n.kt)("inlineCode",{parentName:"p"},"com.code-philosophy.hybridclr")," package\u5305\u542b\u4e86\u6253\u5305\u5de5\u4f5c\u6d41\u76f8\u5173\u7684\u6807\u51c6\u5de5\u5177\u811a\u672c\uff0c\u5c06\u8fd9\u4e9b\u590d\u6742\u6d41\u7a0b\u7b80\u5316\u4e3a\u4e00\u952e\u64cd\u4f5c\u3002\n\u8be6\u7ec6\u5b9e\u73b0\u8bf7\u770b\u6e90\u7801\u6216\u8005",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/com.code-philosophy.hybridclr"},"com.code-philosophy.hybridclr\u4ecb\u7ecd")),(0,n.kt)("h2",{id:"\u6253\u5305\u6d41\u7a0b"},"\u6253\u5305\u6d41\u7a0b"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},"\u8fd0\u884c\u83dc\u5355 ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/All")," \u4e00\u952e\u6267\u884c\u5fc5\u8981\u7684\u751f\u6210\u64cd\u4f5c"),(0,n.kt)("li",{parentName:"ol"},"\u5c06",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLRData/HotUpdateDlls"),"\u4e0b\u7684\u70ed\u66f4\u65b0dll\u6dfb\u52a0\u5230\u9879\u76ee\u7684\u70ed\u66f4\u65b0\u8d44\u6e90\u7ba1\u7406\u7cfb\u7edf"),(0,n.kt)("li",{parentName:"ol"},"\u5c06",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLRData/AssembliesPostIl2CppStrip"),"\u4e0b\u7684\u8865\u5145\u5143\u6570\u636e dll\u6dfb\u52a0\u5230\u9879\u76ee\u7684\u70ed\u66f4\u65b0\u8d44\u6e90\u7ba1\u7406\u7cfb\u7edf"),(0,n.kt)("li",{parentName:"ol"},"\u6839\u636e\u4f60\u9879\u76ee\u539f\u6765\u7684\u6253\u5305\u6d41\u7a0b\u6253\u5305")),(0,n.kt)("h2",{id:"\u4f18\u5316\u7684\u6253\u5305\u6d41\u7a0b"},"\u4f18\u5316\u7684\u6253\u5305\u6d41\u7a0b"),(0,n.kt)("admonition",{type:"tip"},(0,n.kt)("p",{parentName:"admonition"},"Unity 2019\u7684Android\u5e73\u53f0\uff0c\u4ee5\u53ca\u56e2\u7ed3\u5f15\u64ce\u7684\u9e3f\u8499\u5e73\u53f0\u5728\u7b2c\u4e8c\u6b65",(0,n.kt)("inlineCode",{parentName:"p"},"\u5bfc\u51fa\u5de5\u7a0b"),"\u65f6\u4f1a\u81ea\u52a8\u7f16\u8bd1libil2cpp.a\uff0c\u6b64\u65f6\u6865\u63a5\u51fd\u6570\u4e4b\u7c7b\u8fd8\u672a\u751f\u6210\uff0c\u56e0\u6b64\u8fd9\u4e9b\u5e73\u53f0",(0,n.kt)("strong",{parentName:"p"},"\u65e0\u6cd5\u4f7f\u7528"),"\u4f18\u5316\u7684\u6253\u5305\u6d41\u7a0b\u3002")),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Generate/All")," \u547d\u4ee4\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u4f1a\u6267\u884c\u4e00\u6b21\u5bfc\u51fa\u5de5\u7a0b\uff0c\u4ee5\u751f\u6210\u88c1\u526a\u540e\u7684AOT dll\u3002\u8fd9\u4e00\u6b65\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\u6765\u8bf4\u53ef\u80fd\u975e\u5e38\u8017\u65f6\uff0c\u51e0\u4e4e\u5c06\u6253\u5305\u65f6\u95f4\u589e\u52a0\u4e86\u4e00\u500d\u3002\u5982\u679c\u9700\u8981\u4f18\u5316\u6253\u5305\u65f6\u95f4\uff0c\u53ef\u4ee5\u6309\u7167\u5982\u4e0b\u6d41\u7a0b\u4e00\u6b21\u51fa\u5305\u3002"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/LinkXml")),(0,n.kt)("li",{parentName:"ul"},"\u5bfc\u51fa\u5de5\u7a0b"),(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/Il2cppDef")),(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/MethodBridge"),"\u751f\u6210\u6865\u63a5\u51fd\u6570"),(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/PReverseInvokeWrapper"),"\u3002 \u4e0d\u9700\u8981\u4e0elua\u4e4b\u7c7b\u4ea4\u4e92\u7684\u9879\u76ee\u53ef\u8df3\u8fc7\u6b64\u6b65\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5c06 ",(0,n.kt)("inlineCode",{parentName:"li"},"{proj}\\HybridCLRData\\LocalIl2CppData-{platform}\\il2cpp\\libil2cpp\\hybridclr\\generated"),"\u76ee\u5f55 \u66ff\u6362\u5bfc\u51fa\u5de5\u7a0b\u4e2d\u7684\u6b64\u76ee\u5f55\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5728\u5bfc\u51fa\u5de5\u7a0b\u4e0a\u6267\u884cbuild")),(0,n.kt)("h2",{id:"ios\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406"},"iOS\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406"),(0,n.kt)("h3",{id:"\u5f53-comcode-philosophyhybridclr-\u7248\u672c--v320"},"\u5f53 com.code-philosophy.hybridclr \u7248\u672c ","\u2265"," v3.2.0"),(0,n.kt)("p",null,"\u4e0d\u9700\u8981\u4efb\u4f55\u5904\u7406\uff0c\u76f4\u63a5\u5bfc\u51faxcode\u5de5\u7a0b\uff0c\u518d\u6253\u5305\u5373\u53ef\u3002\u7531\u4e8e\u5728build\u5b8c\u6210\u540e\u624d\u5c06libil2cpp\u6e90\u7801\u52a0\u5165xcode\u5de5\u7a0b\uff0c\u56e0\u6b64\u53ea\u80fd\u5148\u5bfc\u51faxcode\uff0c\u518d\u624b\u52a8\u6216\u8005\u547d\u4ee4\u884c\u7f16\u8bd1\uff0c\u8bd5\u56fe\u76f4\u63a5",(0,n.kt)("inlineCode",{parentName:"p"},"Build And Run"),"\u4f1a\u51fa\u9519\u3002"),(0,n.kt)("admonition",{type:"danger"},(0,n.kt)("p",{parentName:"admonition"},"\u5982\u679c\u4f60\u7684 com.code-philosophy.hybridclr \u7248\u672c ","<"," v3.3.0, \u7531\u4e8excode\u5de5\u7a0b\u91cc\u5199\u6b7b\u4e86libil2cpp\u76f8\u5173\u4ee3\u7801\u7684\u8def\u5f84\uff0c\u5982\u679c\u4f60\u5bfc\u51faxcode\u5de5\u7a0b\uff0c\u63a8\u9001\u5230\u5176\u4ed6\u7535\u8111\u4e0a\u6253\u5305\uff0c\u4f1a\u51fa\u73b0\u4ee3\u7801\u6587\u4ef6\u627e\u4e0d\u5230\u7684\u9519\u8bef\uff01")),(0,n.kt)("h3",{id:"\u5f53-comcode-philosophyhybridclr-\u7248\u672c--v320-1"},"\u5f53 com.code-philosophy.hybridclr \u7248\u672c ","<"," v3.2.0"),(0,n.kt)("p",null,"\u9664\u4e86iOS\u4ee5\u5916\u5e73\u53f0\u90fd\u662f\u6839\u636elibil2cpp\u6e90\u7801\u7f16\u8bd1\u51fa\u76ee\u6807\u7a0b\u5e8f,iOS\u5e73\u53f0\u4f7f\u7528\u63d0\u524d\u7f16\u8bd1\u597dlibil2cpp.a\u6587\u4ef6\u3002Unity\u5bfc\u51fa\u7684xcode\u5de5\u7a0b\u5f15\u7528\u4e86\u63d0\u524d\u751f\u6210\u597d\u7684libil2cpp.a\uff0c\u800c\u4e0d\u5305\u542blibil2cpp\u6e90\u7801\uff0c\n\u76f4\u63a5\u6253\u5305\u65e0\u6cd5\u652f\u6301\u70ed\u66f4\u65b0\u3002\u56e0\u6b64\u7f16\u8bd1iOS\u7a0b\u5e8f\u65f6\u9700\u8981\u81ea\u5df1\u5355\u72ec\u7f16\u8bd1libil2cpp.a\uff0c\u518d",(0,n.kt)("strong",{parentName:"p"},"\u66ff\u6362xcode\u5de5\u7a0b\u7684libil2cpp.a\u6587\u4ef6"),"\uff0c\u63a5\u7740\u518d\u6253\u5305\u3002"),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"\u66ff\u6362xcode\u5de5\u7a0b\u4e2d\u7684libil2cpp.a\u6587\u4ef6\u8bf7\u81ea\u884c\u5b8c\u6210"),"\u3002"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"com.code-philosophy.hybridclr/Data~/iOSBuild")," \u76ee\u5f55\u5305\u542b\u4e86\u7f16\u8bd1 ",(0,n.kt)("inlineCode",{parentName:"p"},"libil2cpp.a")," \u6240\u9700\u7684\u811a\u672c\u3002\u4f7f\u7528",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Installer..."),"\u5b8c\u6210\u5b89\u88c5\u540e\uff0c\u8be5iOSBuild\u76ee\u5f55\u4f1a\u88ab\u590d\u5236\u5230",(0,n.kt)("inlineCode",{parentName:"p"},"{project}/HybridCLRData/iOSBuild")," \u76ee\u5f55\u3002"),(0,n.kt)("h3",{id:"\u7f16\u8bd1-libil2cppa"},"\u7f16\u8bd1 libil2cpp.a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/All")," \u751f\u6210\u6240\u6709\u5fc5\u8981\u7684\u6587\u4ef6"),(0,n.kt)("li",{parentName:"ul"},"\u6253\u5f00\u547d\u4ee4\u63a7\u5236\u53f0\uff0c\u5207\u6362\u5230 ",(0,n.kt)("inlineCode",{parentName:"li"},"{project}/HybridCLRData/iOSBuild")," \u76ee\u5f55\u3002\u8bf7\u786e\u4fdd\u8fd9\u4e2a\u8def\u5f84\u7684\u7edd\u5bf9\u8def\u5f84\u4e0d\u5305\u542b\u7a7a\u683c\uff01\u5426\u5219\u4f1a\u51fa\u9519\u3002"),(0,n.kt)("li",{parentName:"ul"},"bash ./build_libil2cpp.sh \u7f16\u8bd1libil2cpp.a \u3002\u8fd0\u884c\u7ed3\u675f\u540e\uff0c\u5982\u679c\u5728",(0,n.kt)("inlineCode",{parentName:"li"},"iOSBuild/build"),"\u76ee\u5f55\u4e0b\u80fd\u627e\u5230libil2cpp.a\u6587\u4ef6\u5e76\u4e14size\u5927\u4e8e60M\uff0c\u8868\u793a\u7f16\u8bd1\u6210\u529f")),(0,n.kt)("h2",{id:"\u5e38\u89c1\u9519\u8bef"},"\u5e38\u89c1\u9519\u8bef"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u672a\u5728",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Installer..."),"\u4e2d\u5b8c\u6210\u5b89\u88c5"),(0,n.kt)("li",{parentName:"ul"},"\u672a\u8fd0\u884c",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/All")),(0,n.kt)("li",{parentName:"ul"},"\u672a\u5b89\u88c5\u4f7f\u7528\u8f83\u65b0\u7684macOS(12\u4ee5\u4e0a)\u53ca\u6700\u65b0xcode"),(0,n.kt)("li",{parentName:"ul"},"\u672a\u5b89\u88c5cmake"),(0,n.kt)("li",{parentName:"ul"},"\u7531\u4e8egit\u8bbe\u7f6e\u7684\u539f\u56e0\uff0c\u62c9\u4e0b\u6765\u7684build_libil2cpp.sh\u53cabuild_lump.sh\u5305\u542b\u4e0d\u6b63\u786e\u7684\u6587\u4ef6\u7ed3\u675f\u7b26\uff0c\u5bfc\u81f4\u811a\u672c\u8fd0\u884c\u524d\u51e0\u884c\u4ee3\u7801\u5c31\u51fa\u9519\u3002 \u9519\u8bef\u4fe1\u606f\u4e5f\u5f88\u660e\u663e\uff0c\u5982 ",(0,n.kt)("inlineCode",{parentName:"li"},"/bin/bash^M \u6587\u4ef6\u4e0d\u5b58\u5728"),"\u3002\u8fd0\u884c\u547d\u4ee4 ",(0,n.kt)("inlineCode",{parentName:"li"},"cat -v build_libil2cpp.sh ")," \u68c0\u67e5\u786e\u8ba4\u6362\u884c\u7b26\u7684\u6b63\u786e\u6027\u3002 \u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"git config --global core.autocrlf input"),"\uff0c\u7136\u540e\u518d\u91cd\u65b0\u62c9\u53d6\u8fd9\u8fd9\u4e24\u4e2a\u811a\u672c\u6587\u4ef6\u5373\u53ef\u3002\u8be6\u60c5\u53ef ",(0,n.kt)("a",{parentName:"li",href:"https://docs.github.com/cn/get-started/getting-started-with-git/configuring-git-to-handle-line-endings"},"\u53c2\u89c1git\u6362\u884c\u7b26\u8bbe\u7f6e"),"\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"{project}/HybridCLRData/iOSBuild"),"\u7684\u7edd\u5bf9\u8def\u5f84\u5305\u542b\u7a7a\u683c\uff0c\u5bfc\u81f4gen_lump.sh\u811a\u672c\u751f\u6210\u9519\u8bef\u7684\u7ed3\u679c")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/72413e93.875b3be6.js b/assets/js/72413e93.875b3be6.js deleted file mode 100644 index 2fcffb4fc..000000000 --- a/assets/js/72413e93.875b3be6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[1198],{3905:(e,t,l)=>{l.d(t,{Zo:()=>d,kt:()=>s});var i=l(7294);function n(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function r(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,i)}return l}function a(e){for(var t=1;t=0||(n[l]=e[l]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(n[l]=e[l])}return n}var o=i.createContext({}),c=function(e){var t=i.useContext(o),l=t;return e&&(l="function"==typeof e?e(t):a(a({},t),e)),l},d=function(e){var t=c(e.components);return i.createElement(o.Provider,{value:t},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},b=i.forwardRef((function(e,t){var l=e.components,n=e.mdxType,r=e.originalType,o=e.parentName,d=p(e,["components","mdxType","originalType","parentName"]),u=c(l),b=n,s=u["".concat(o,".").concat(b)]||u[b]||m[b]||r;return l?i.createElement(s,a(a({ref:t},d),{},{components:l})):i.createElement(s,a({ref:t},d))}));function s(e,t){var l=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var r=l.length,a=new Array(r);a[0]=b;var p={};for(var o in t)hasOwnProperty.call(t,o)&&(p[o]=t[o]);p.originalType=e,p[u]="string"==typeof e?e:n,a[1]=p;for(var c=2;c{l.r(t),l.d(t,{assets:()=>o,contentTitle:()=>a,default:()=>m,frontMatter:()=>r,metadata:()=>p,toc:()=>c});var i=l(7462),n=(l(7294),l(3905));const r={},a="\u6253\u5305\u5de5\u4f5c\u6d41",p={unversionedId:"basic/buildpipeline",id:"basic/buildpipeline",title:"\u6253\u5305\u5de5\u4f5c\u6d41",description:"\u7531\u4e8e\u70ed\u66f4\u65b0\u672c\u8eab\u7684\u8981\u6c42\u4ee5\u53caUnity\u8d44\u6e90\u7ba1\u7406\u7684\u4e00\u4e9b\u9650\u5236\uff0c\u5bf9\u6253\u5305\u5de5\u4f5c\u6d41\u9700\u8981\u4e00\u4e9b\u7279\u6b8a\u5904\u7406\uff0c\u4e3b\u8981\u5206\u4e3a\u51e0\u90e8\u5206\uff1a",source:"@site/docs/basic/buildpipeline.md",sourceDirName:"basic",slug:"/basic/buildpipeline",permalink:"/docs/basic/buildpipeline",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"\u52a0\u8f7d\u548c\u8fd0\u884c",permalink:"/docs/basic/runhotupdatecodes"},next:{title:"\u53d1\u5e03WebGL\u5e73\u53f0",permalink:"/docs/basic/buildwebgl"}},o={},c=[{value:"\u6253\u5305\u6d41\u7a0b",id:"\u6253\u5305\u6d41\u7a0b",level:2},{value:"\u4f18\u5316\u7684\u6253\u5305\u6d41\u7a0b",id:"\u4f18\u5316\u7684\u6253\u5305\u6d41\u7a0b",level:2},{value:"iOS\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406",id:"ios\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406",level:2},{value:"\u5f53 com.code-philosophy.hybridclr \u7248\u672c \u2265 v3.2.0",id:"\u5f53-comcode-philosophyhybridclr-\u7248\u672c--v320",level:3},{value:"\u5f53 com.code-philosophy.hybridclr \u7248\u672c < v3.2.0",id:"\u5f53-comcode-philosophyhybridclr-\u7248\u672c--v320-1",level:3},{value:"\u7f16\u8bd1 libil2cpp.a",id:"\u7f16\u8bd1-libil2cppa",level:3},{value:"\u5e38\u89c1\u9519\u8bef",id:"\u5e38\u89c1\u9519\u8bef",level:2}],d={toc:c},u="wrapper";function m(e){let{components:t,...l}=e;return(0,n.kt)(u,(0,i.Z)({},d,l,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"\u6253\u5305\u5de5\u4f5c\u6d41"},"\u6253\u5305\u5de5\u4f5c\u6d41"),(0,n.kt)("p",null,"\u7531\u4e8e\u70ed\u66f4\u65b0\u672c\u8eab\u7684\u8981\u6c42\u4ee5\u53caUnity\u8d44\u6e90\u7ba1\u7406\u7684\u4e00\u4e9b\u9650\u5236\uff0c\u5bf9\u6253\u5305\u5de5\u4f5c\u6d41\u9700\u8981\u4e00\u4e9b\u7279\u6b8a\u5904\u7406\uff0c\u4e3b\u8981\u5206\u4e3a\u51e0\u90e8\u5206\uff1a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u8bbe\u7f6eUNITY_IL2CPP_PATH\u73af\u5883\u53d8\u91cf"),(0,n.kt)("li",{parentName:"ul"},"\u6253\u5305\u65f6\u81ea\u52a8\u6392\u9664\u70ed\u66f4\u65b0assembly"),(0,n.kt)("li",{parentName:"ul"},"\u6253\u5305\u65f6\u5c06\u70ed\u66f4\u65b0dll\u540d\u6dfb\u52a0\u5230assembly\u5217\u8868"),(0,n.kt)("li",{parentName:"ul"},"\u5c06\u6253\u5305\u8fc7\u7a0b\u4e2d\u751f\u6210\u7684\u88c1\u526a\u540e\u7684aot dll\u62f7\u8d1d\u51fa\u6765\uff0c\u4f9b\u8865\u5145\u5143\u6570\u636e\u4f7f\u7528"),(0,n.kt)("li",{parentName:"ul"},"\u7f16\u8bd1\u70ed\u66f4\u65b0dll"),(0,n.kt)("li",{parentName:"ul"},"\u751f\u6210\u4e00\u4e9b\u6253\u5305\u9700\u8981\u7684\u6587\u4ef6\u548c\u4ee3\u7801"),(0,n.kt)("li",{parentName:"ul"},"iOS\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406")),(0,n.kt)("p",null,"\u624b\u52a8\u64cd\u4f5c\u8fd9\u4e9b\u662f\u70e6\u7410\u6613\u9519\u7684\uff0c",(0,n.kt)("inlineCode",{parentName:"p"},"com.code-philosophy.hybridclr")," package\u5305\u542b\u4e86\u6253\u5305\u5de5\u4f5c\u6d41\u76f8\u5173\u7684\u6807\u51c6\u5de5\u5177\u811a\u672c\uff0c\u5c06\u8fd9\u4e9b\u590d\u6742\u6d41\u7a0b\u7b80\u5316\u4e3a\u4e00\u952e\u64cd\u4f5c\u3002\n\u8be6\u7ec6\u5b9e\u73b0\u8bf7\u770b\u6e90\u7801\u6216\u8005",(0,n.kt)("a",{parentName:"p",href:"/docs/basic/com.code-philosophy.hybridclr"},"com.code-philosophy.hybridclr\u4ecb\u7ecd")),(0,n.kt)("h2",{id:"\u6253\u5305\u6d41\u7a0b"},"\u6253\u5305\u6d41\u7a0b"),(0,n.kt)("ol",null,(0,n.kt)("li",{parentName:"ol"},"\u8fd0\u884c\u83dc\u5355 ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/All")," \u4e00\u952e\u6267\u884c\u5fc5\u8981\u7684\u751f\u6210\u64cd\u4f5c"),(0,n.kt)("li",{parentName:"ol"},"\u5c06",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLRData/HotUpdateDlls"),"\u4e0b\u7684\u70ed\u66f4\u65b0dll\u6dfb\u52a0\u5230\u9879\u76ee\u7684\u70ed\u66f4\u65b0\u8d44\u6e90\u7ba1\u7406\u7cfb\u7edf"),(0,n.kt)("li",{parentName:"ol"},"\u5c06",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLRData/AssembliesPostIl2CppStrip"),"\u4e0b\u7684\u8865\u5145\u5143\u6570\u636e dll\u6dfb\u52a0\u5230\u9879\u76ee\u7684\u70ed\u66f4\u65b0\u8d44\u6e90\u7ba1\u7406\u7cfb\u7edf"),(0,n.kt)("li",{parentName:"ol"},"\u6839\u636e\u4f60\u9879\u76ee\u539f\u6765\u7684\u6253\u5305\u6d41\u7a0b\u6253\u5305")),(0,n.kt)("h2",{id:"\u4f18\u5316\u7684\u6253\u5305\u6d41\u7a0b"},"\u4f18\u5316\u7684\u6253\u5305\u6d41\u7a0b"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Generate/All")," \u547d\u4ee4\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u4f1a\u6267\u884c\u4e00\u6b21\u5bfc\u51fa\u5de5\u7a0b\uff0c\u4ee5\u751f\u6210\u88c1\u526a\u540e\u7684AOT dll\u3002\u8fd9\u4e00\u6b65\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\u6765\u8bf4\u53ef\u80fd\u975e\u5e38\u8017\u65f6\uff0c\u51e0\u4e4e\u5c06\u6253\u5305\u65f6\u95f4\u589e\u52a0\u4e86\u4e00\u500d\u3002\u5982\u679c\u9700\u8981\u4f18\u5316\u6253\u5305\u65f6\u95f4\uff0c\u53ef\u4ee5\u6309\u7167\u5982\u4e0b\u6d41\u7a0b\u4e00\u6b21\u51fa\u5305\u3002"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/LinkXml")),(0,n.kt)("li",{parentName:"ul"},"\u5bfc\u51fa\u5de5\u7a0b"),(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/Il2cppDef")),(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/MethodBridge"),"\u751f\u6210\u6865\u63a5\u51fd\u6570"),(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/PReverseInvokeWrapper"),"\u3002 \u4e0d\u9700\u8981\u4e0elua\u4e4b\u7c7b\u4ea4\u4e92\u7684\u9879\u76ee\u53ef\u8df3\u8fc7\u6b64\u6b65\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5c06 ",(0,n.kt)("inlineCode",{parentName:"li"},"{proj}\\HybridCLRData\\LocalIl2CppData-{platform}\\il2cpp\\libil2cpp\\hybridclr\\generated"),"\u76ee\u5f55 \u66ff\u6362\u5bfc\u51fa\u5de5\u7a0b\u4e2d\u7684\u6b64\u76ee\u5f55\u3002"),(0,n.kt)("li",{parentName:"ul"},"\u5728\u5bfc\u51fa\u5de5\u7a0b\u4e0a\u6267\u884cbuild")),(0,n.kt)("h2",{id:"ios\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406"},"iOS\u5e73\u53f0\u7684\u7279\u6b8a\u5904\u7406"),(0,n.kt)("h3",{id:"\u5f53-comcode-philosophyhybridclr-\u7248\u672c--v320"},"\u5f53 com.code-philosophy.hybridclr \u7248\u672c ","\u2265"," v3.2.0"),(0,n.kt)("p",null,"\u4e0d\u9700\u8981\u4efb\u4f55\u5904\u7406\uff0c\u76f4\u63a5\u5bfc\u51faxcode\u5de5\u7a0b\uff0c\u518d\u6253\u5305\u5373\u53ef\u3002\u7531\u4e8e\u5728build\u5b8c\u6210\u540e\u624d\u5c06libil2cpp\u6e90\u7801\u52a0\u5165xcode\u5de5\u7a0b\uff0c\u56e0\u6b64\u53ea\u80fd\u5148\u5bfc\u51faxcode\uff0c\u518d\u624b\u52a8\u6216\u8005\u547d\u4ee4\u884c\u7f16\u8bd1\uff0c\u8bd5\u56fe\u76f4\u63a5",(0,n.kt)("inlineCode",{parentName:"p"},"Build And Run"),"\u4f1a\u51fa\u9519\u3002"),(0,n.kt)("admonition",{type:"danger"},(0,n.kt)("p",{parentName:"admonition"},"\u5982\u679c\u4f60\u7684 com.code-philosophy.hybridclr \u7248\u672c ","<"," v3.3.0, \u7531\u4e8excode\u5de5\u7a0b\u91cc\u5199\u6b7b\u4e86libil2cpp\u76f8\u5173\u4ee3\u7801\u7684\u8def\u5f84\uff0c\u5982\u679c\u4f60\u5bfc\u51faxcode\u5de5\u7a0b\uff0c\u63a8\u9001\u5230\u5176\u4ed6\u7535\u8111\u4e0a\u6253\u5305\uff0c\u4f1a\u51fa\u73b0\u4ee3\u7801\u6587\u4ef6\u627e\u4e0d\u5230\u7684\u9519\u8bef\uff01")),(0,n.kt)("h3",{id:"\u5f53-comcode-philosophyhybridclr-\u7248\u672c--v320-1"},"\u5f53 com.code-philosophy.hybridclr \u7248\u672c ","<"," v3.2.0"),(0,n.kt)("p",null,"\u9664\u4e86iOS\u4ee5\u5916\u5e73\u53f0\u90fd\u662f\u6839\u636elibil2cpp\u6e90\u7801\u7f16\u8bd1\u51fa\u76ee\u6807\u7a0b\u5e8f,iOS\u5e73\u53f0\u4f7f\u7528\u63d0\u524d\u7f16\u8bd1\u597dlibil2cpp.a\u6587\u4ef6\u3002Unity\u5bfc\u51fa\u7684xcode\u5de5\u7a0b\u5f15\u7528\u4e86\u63d0\u524d\u751f\u6210\u597d\u7684libil2cpp.a\uff0c\u800c\u4e0d\u5305\u542blibil2cpp\u6e90\u7801\uff0c\n\u76f4\u63a5\u6253\u5305\u65e0\u6cd5\u652f\u6301\u70ed\u66f4\u65b0\u3002\u56e0\u6b64\u7f16\u8bd1iOS\u7a0b\u5e8f\u65f6\u9700\u8981\u81ea\u5df1\u5355\u72ec\u7f16\u8bd1libil2cpp.a\uff0c\u518d",(0,n.kt)("strong",{parentName:"p"},"\u66ff\u6362xcode\u5de5\u7a0b\u7684libil2cpp.a\u6587\u4ef6"),"\uff0c\u63a5\u7740\u518d\u6253\u5305\u3002"),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"\u66ff\u6362xcode\u5de5\u7a0b\u4e2d\u7684libil2cpp.a\u6587\u4ef6\u8bf7\u81ea\u884c\u5b8c\u6210"),"\u3002"),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"com.code-philosophy.hybridclr/Data~/iOSBuild")," \u76ee\u5f55\u5305\u542b\u4e86\u7f16\u8bd1 ",(0,n.kt)("inlineCode",{parentName:"p"},"libil2cpp.a")," \u6240\u9700\u7684\u811a\u672c\u3002\u4f7f\u7528",(0,n.kt)("inlineCode",{parentName:"p"},"HybridCLR/Installer..."),"\u5b8c\u6210\u5b89\u88c5\u540e\uff0c\u8be5iOSBuild\u76ee\u5f55\u4f1a\u88ab\u590d\u5236\u5230",(0,n.kt)("inlineCode",{parentName:"p"},"{project}/HybridCLRData/iOSBuild")," \u76ee\u5f55\u3002"),(0,n.kt)("h3",{id:"\u7f16\u8bd1-libil2cppa"},"\u7f16\u8bd1 libil2cpp.a"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/All")," \u751f\u6210\u6240\u6709\u5fc5\u8981\u7684\u6587\u4ef6"),(0,n.kt)("li",{parentName:"ul"},"\u6253\u5f00\u547d\u4ee4\u63a7\u5236\u53f0\uff0c\u5207\u6362\u5230 ",(0,n.kt)("inlineCode",{parentName:"li"},"{project}/HybridCLRData/iOSBuild")," \u76ee\u5f55\u3002\u8bf7\u786e\u4fdd\u8fd9\u4e2a\u8def\u5f84\u7684\u7edd\u5bf9\u8def\u5f84\u4e0d\u5305\u542b\u7a7a\u683c\uff01\u5426\u5219\u4f1a\u51fa\u9519\u3002"),(0,n.kt)("li",{parentName:"ul"},"bash ./build_libil2cpp.sh \u7f16\u8bd1libil2cpp.a \u3002\u8fd0\u884c\u7ed3\u675f\u540e\uff0c\u5982\u679c\u5728",(0,n.kt)("inlineCode",{parentName:"li"},"iOSBuild/build"),"\u76ee\u5f55\u4e0b\u80fd\u627e\u5230libil2cpp.a\u6587\u4ef6\u5e76\u4e14size\u5927\u4e8e60M\uff0c\u8868\u793a\u7f16\u8bd1\u6210\u529f")),(0,n.kt)("h2",{id:"\u5e38\u89c1\u9519\u8bef"},"\u5e38\u89c1\u9519\u8bef"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"\u672a\u5728",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Installer..."),"\u4e2d\u5b8c\u6210\u5b89\u88c5"),(0,n.kt)("li",{parentName:"ul"},"\u672a\u8fd0\u884c",(0,n.kt)("inlineCode",{parentName:"li"},"HybridCLR/Generate/All")),(0,n.kt)("li",{parentName:"ul"},"\u672a\u5b89\u88c5\u4f7f\u7528\u8f83\u65b0\u7684macOS(12\u4ee5\u4e0a)\u53ca\u6700\u65b0xcode"),(0,n.kt)("li",{parentName:"ul"},"\u672a\u5b89\u88c5cmake"),(0,n.kt)("li",{parentName:"ul"},"\u7531\u4e8egit\u8bbe\u7f6e\u7684\u539f\u56e0\uff0c\u62c9\u4e0b\u6765\u7684build_libil2cpp.sh\u53cabuild_lump.sh\u5305\u542b\u4e0d\u6b63\u786e\u7684\u6587\u4ef6\u7ed3\u675f\u7b26\uff0c\u5bfc\u81f4\u811a\u672c\u8fd0\u884c\u524d\u51e0\u884c\u4ee3\u7801\u5c31\u51fa\u9519\u3002 \u9519\u8bef\u4fe1\u606f\u4e5f\u5f88\u660e\u663e\uff0c\u5982 ",(0,n.kt)("inlineCode",{parentName:"li"},"/bin/bash^M \u6587\u4ef6\u4e0d\u5b58\u5728"),"\u3002\u8fd0\u884c\u547d\u4ee4 ",(0,n.kt)("inlineCode",{parentName:"li"},"cat -v build_libil2cpp.sh ")," \u68c0\u67e5\u786e\u8ba4\u6362\u884c\u7b26\u7684\u6b63\u786e\u6027\u3002 \u8fd0\u884c ",(0,n.kt)("inlineCode",{parentName:"li"},"git config --global core.autocrlf input"),"\uff0c\u7136\u540e\u518d\u91cd\u65b0\u62c9\u53d6\u8fd9\u8fd9\u4e24\u4e2a\u811a\u672c\u6587\u4ef6\u5373\u53ef\u3002\u8be6\u60c5\u53ef ",(0,n.kt)("a",{parentName:"li",href:"https://docs.github.com/cn/get-started/getting-started-with-git/configuring-git-to-handle-line-endings"},"\u53c2\u89c1git\u6362\u884c\u7b26\u8bbe\u7f6e"),"\u3002"),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("inlineCode",{parentName:"li"},"{project}/HybridCLRData/iOSBuild"),"\u7684\u7edd\u5bf9\u8def\u5f84\u5305\u542b\u7a7a\u683c\uff0c\u5bfc\u81f4gen_lump.sh\u811a\u672c\u751f\u6210\u9519\u8bef\u7684\u7ed3\u679c")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/9b588bbf.39def91a.js b/assets/js/9b588bbf.39def91a.js new file mode 100644 index 000000000..a5d299c9b --- /dev/null +++ b/assets/js/9b588bbf.39def91a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[9462],{3905:(e,n,t)=>{t.d(n,{Zo:()=>c,kt:()=>y});var r=t(7294);function i(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var s=r.createContext({}),p=function(e){var n=r.useContext(s),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},c=function(e){var n=p(e.components);return r.createElement(s.Provider,{value:n},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var t=e.components,i=e.mdxType,a=e.originalType,s=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),u=p(t),d=i,y=u["".concat(s,".").concat(d)]||u[d]||m[d]||a;return t?r.createElement(y,l(l({ref:n},c),{},{components:t})):r.createElement(y,l({ref:n},c))}));function y(e,n){var t=arguments,i=n&&n.mdxType;if("string"==typeof e||i){var a=t.length,l=new Array(a);l[0]=d;var o={};for(var s in n)hasOwnProperty.call(n,s)&&(o[s]=n[s]);o.originalType=e,o[u]="string"==typeof e?e:i,l[1]=o;for(var p=2;p{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>l,default:()=>m,frontMatter:()=>a,metadata:()=>o,toc:()=>p});var r=t(7462),i=(t(7294),t(3905));const a={},l="\u5feb\u901f\u4e0a\u624b",o={unversionedId:"business/reload/quickstart",id:"business/reload/quickstart",title:"\u5feb\u901f\u4e0a\u624b",description:"\u4e0e\u793e\u533a\u7248\u672c\u7684\u5feb\u901f\u4e0a\u624b\u51e0\u4e4e\u5b8c\u5168\u76f8\u540c\uff0c\u672c\u6587\u6863\u53ea\u4ecb\u7ecd\u4e0d\u540c\u4e4b\u5904\u3002",source:"@site/docs/business/reload/quickstart.md",sourceDirName:"business/reload",slug:"/business/reload/quickstart",permalink:"/docs/business/reload/quickstart",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"\u4ecb\u7ecd",permalink:"/docs/business/reload/intro"},next:{title:"\u70ed\u91cd\u8f7d\u6280\u672f",permalink:"/docs/business/reload/hotreloadassembly"}},s={},p=[{value:"\u5b89\u88c5",id:"\u5b89\u88c5",level:2},{value:"\u4ee3\u7801\u4e2d\u4f7f\u7528",id:"\u4ee3\u7801\u4e2d\u4f7f\u7528",level:2},{value:"\u6ce8\u610f\u4e8b\u9879",id:"\u6ce8\u610f\u4e8b\u9879",level:2}],c={toc:p},u="wrapper";function m(e){let{components:n,...a}=e;return(0,i.kt)(u,(0,r.Z)({},c,a,{components:n,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"\u5feb\u901f\u4e0a\u624b"},"\u5feb\u901f\u4e0a\u624b"),(0,i.kt)("p",null,"\u4e0e\u793e\u533a\u7248\u672c\u7684",(0,i.kt)("a",{parentName:"p",href:"/docs/beginner/quickstart"},"\u5feb\u901f\u4e0a\u624b"),"\u51e0\u4e4e\u5b8c\u5168\u76f8\u540c\uff0c\u672c\u6587\u6863\u53ea\u4ecb\u7ecd\u4e0d\u540c\u4e4b\u5904\u3002"),(0,i.kt)("h2",{id:"\u5b89\u88c5"},"\u5b89\u88c5"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"\u5c06hybridclr_unity\u89e3\u538b\u540e\uff0c\u653e\u5230\u9879\u76eePackages\u76ee\u5f55\u4e0b\uff0c\u6539\u540d\u4e3acom.code-philosophy.hybridclr"),(0,i.kt)("li",{parentName:"ul"},"\u6839\u636e\u4f60\u7684unity\u7248\u672c\u89e3\u538b\u5bf9\u5e94\u7684",(0,i.kt)("inlineCode",{parentName:"li"},"il2cpp_plus-{version}.zip")),(0,i.kt)("li",{parentName:"ul"},"\u89e3\u538b ",(0,i.kt)("inlineCode",{parentName:"li"},"hybridclr.zip")),(0,i.kt)("li",{parentName:"ul"},"\u5c06",(0,i.kt)("inlineCode",{parentName:"li"},"hybridclr.zip"),"\u89e3\u538b\u540e\u7684hybridclr\u76ee\u5f55\u653e\u5230",(0,i.kt)("inlineCode",{parentName:"li"},"il2cpp-{version}.zip"),"\u89e3\u538b\u540e\u7684libil2cpp\u76ee\u5f55\u4e0b"),(0,i.kt)("li",{parentName:"ul"},"\u6253\u5f00 ",(0,i.kt)("inlineCode",{parentName:"li"},"HybridCLR/Installer"),"\uff0c\u5f00\u542f",(0,i.kt)("inlineCode",{parentName:"li"},"\u4ece\u672c\u5730\u590d\u5236libil2cpp"),"\u9009\u9879\uff0c\u9009\u4e2d\u521a\u624d\u89e3\u538b\u7684libil2cpp\u76ee\u5f55\uff0c\u8fdb\u884c\u5b89\u88c5")),(0,i.kt)("p",null,(0,i.kt)("img",{alt:"installer",src:t(9456).Z,width:"805",height:"263"})),(0,i.kt)("h2",{id:"\u4ee3\u7801\u4e2d\u4f7f\u7528"},"\u4ee3\u7801\u4e2d\u4f7f\u7528"),(0,i.kt)("p",null,"\u8c03\u7528 ",(0,i.kt)("inlineCode",{parentName:"p"},"RuntimeApi.UnloadAssembly")," \u5378\u8f7d\u7a0b\u5e8f\u96c6\uff0c\u4f7f\u7528",(0,i.kt)("inlineCode",{parentName:"p"},"Assembly.Load"),"\u91cd\u65b0\u52a0\u8f7d\u7a0b\u5e8f\u96c6\u3002\u5f53\u524d\u4e0d\u652f\u6301\u5728\u672a\u5378\u8f7d\u8be5\u7a0b\u5e8f\u96c6\u7684\u60c5\u51b5\u4e0b\u518d\u6b21\u52a0\u8f7d\u8be5\u7a0b\u5e8f\u96c6\uff0c\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a"),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-csharp"},'\n // \u5378\u8f7d\u7a0b\u5e8f\u96c6\u65f6\u9ed8\u8ba4\u4f1a\u626b\u63cf\u6574\u4e2a\u8fd0\u884c\u65f6\uff0c\u68c0\u67e5\u6709\u6ca1\u6709\u6301\u6709\u5bf9\u88ab\u5378\u8f7d\u7a0b\u5e8f\u96c6\u4e2d\u5bf9\u8c61\u7684\u5f15\u7528\u3002\n // \u5bf9\u4e8e\u6b63\u5f0f\u53d1\u5e03\u7684\u7248\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u8bed\u53e5\u7981\u7528\u68c0\u67e5\uff0c\u7f29\u77ed\u5378\u8f7d\u65f6\u95f4\u3002\n // \u5f00\u53d1\u671f\u95f4\u5f3a\u70c8\u63a8\u8350\u4e0d\u8981\u7981\u7528\u5b83\n\n // RuntimeApi.EnableLiveObjectValidation(false);\n\n // \u7b2c\u4e00\u6b21\u52a0\u8f7d\n Assembly ass = Assembly.Load(yyy);\n\n // \u6267\u884c\u4e00\u4e9b\u4ee3\u7801\n Type mainType = ass.GetType("Entry");\n mainType.GetMethod("Main").Invoke(null, null);\n\n // \u7b2c\u4e00\u6b21\u5378\u8f7d\n RuntimeApi.UnloadAssembly(ass);\n\n // \u7b2c\u4e8c\u6b21\u52a0\u8f7d\n Assembly newAss = Assembly.Load(yyy);\n\n // \u6267\u884c\u4e00\u4e9b\u4ee3\u7801\n Type mainType = ass.GetType("Entry");\n mainType.GetMethod("Main").Invoke(null, null);\n\n // \u7b2c\u4e8c\u6b21\u5378\u8f7d\n RuntimeApi.UnloadAssembly(ass);\n')),(0,i.kt)("h2",{id:"\u6ce8\u610f\u4e8b\u9879"},"\u6ce8\u610f\u4e8b\u9879"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"async\u6216\u8005\u534f\u7a0b\u5f88\u5bb9\u6613\u9690\u5f0f\u5730\u5728\u5176\u4ed6\u7ebf\u7a0b\u4fdd\u6301\u4e86\u5bf9\u5378\u8f7d\u7a0b\u5e8f\u96c6\u4ee3\u7801\u7684\u5f15\u7528\uff0c\u5378\u8f7d\u524d\u8bf7\u52a1\u5fc5\u6e05\u7406\u6240\u6709\u5f02\u6b65\u6216\u8005\u534f\u7a0b\u51fd\u6570"),(0,i.kt)("li",{parentName:"ul"},"UI\u7684OnClick\u6216\u8005\u5404\u79cd\u56de\u8c03\u4e8b\u4ef6\u5f88\u5bb9\u6613\u5bfc\u81f4\u4fdd\u6301\u4e86\u5bf9\u5378\u8f7d\u7a0b\u5e8f\u96c6\u7684\u5f15\u7528\uff0c\u4e00\u5b9a\u8981\u6e05\u7406\u5e72\u51c0"),(0,i.kt)("li",{parentName:"ul"},"\u6ce8\u518c\u5230\u5168\u5c40\u7684\u4e8b\u4ef6\u6216\u8005\u5176\u4ed6\u52a0\u9ad8\uff0c\u5bb9\u6613\u610f\u5916\u4fdd\u6301\u4e86\u5bf9\u5378\u8f7d\u7a0b\u5e8f\u96c6\u7684\u5f15\u7528\uff0c\u4e00\u5b9a\u8981\u6e05\u7406\u5e72\u51c0"),(0,i.kt)("li",{parentName:"ul"},"\u6839\u636e",(0,i.kt)("inlineCode",{parentName:"li"},"RuntimeApi.UnloadAssembly"),"\u4e2d\u6253\u5370\u7684\u975e\u6cd5\u5f15\u7528\u7684\u65e5\u5fd7\uff0c\u6e05\u7406\u6389\u4ee3\u7801\u4e2d\u7684\u975e\u6cd5\u5f15\u7528"),(0,i.kt)("li",{parentName:"ul"},"\u6b63\u5f0f\u53d1\u5e03\u7684\u9879\u76ee\u53ef\u4ee5\u4f7f\u7528",(0,i.kt)("inlineCode",{parentName:"li"},"RuntimeApi.EnableLiveObjectValidation(false)"),"\u7981\u7528\u975e\u6cd5\u5f15\u7528\u68c0\u67e5\u4ee5\u7f29\u77ed\u5378\u8f7d\u8017\u65f6")))}m.isMDXComponent=!0},9456:(e,n,t)=>{t.d(n,{Z:()=>r});const r=t.p+"assets/images/ultimate-installer-8a4fc30b6b8adf2de3a8b75efd16894c.jpg"}}]); \ No newline at end of file diff --git a/assets/js/9b588bbf.50553e65.js b/assets/js/9b588bbf.50553e65.js deleted file mode 100644 index 0958c4035..000000000 --- a/assets/js/9b588bbf.50553e65.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[9462],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>y});var r=n(7294);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=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var s=r.createContext({}),p=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},c=function(e){var t=p(e.components);return r.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,l=e.mdxType,a=e.originalType,s=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),u=p(n),m=l,y=u["".concat(s,".").concat(m)]||u[m]||d[m]||a;return n?r.createElement(y,i(i({ref:t},c),{},{components:n})):r.createElement(y,i({ref:t},c))}));function y(e,t){var n=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var a=n.length,i=new Array(a);i[0]=m;var o={};for(var s in t)hasOwnProperty.call(t,s)&&(o[s]=t[s]);o.originalType=e,o[u]="string"==typeof e?e:l,i[1]=o;for(var p=2;p{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>o,toc:()=>p});var r=n(7462),l=(n(7294),n(3905));const a={},i="\u5feb\u901f\u4e0a\u624b",o={unversionedId:"business/reload/quickstart",id:"business/reload/quickstart",title:"\u5feb\u901f\u4e0a\u624b",description:"\u4e0e\u793e\u533a\u7248\u672c\u7684\u5feb\u901f\u4e0a\u624b\u51e0\u4e4e\u5b8c\u5168\u76f8\u540c\uff0c\u672c\u6587\u6863\u53ea\u4ecb\u7ecd\u4e0d\u540c\u4e4b\u5904\u3002",source:"@site/docs/business/reload/quickstart.md",sourceDirName:"business/reload",slug:"/business/reload/quickstart",permalink:"/docs/business/reload/quickstart",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"\u4ecb\u7ecd",permalink:"/docs/business/reload/intro"},next:{title:"\u70ed\u91cd\u8f7d\u6280\u672f",permalink:"/docs/business/reload/hotreloadassembly"}},s={},p=[{value:"\u5b89\u88c5",id:"\u5b89\u88c5",level:2},{value:"\u4ee3\u7801\u4e2d\u4f7f\u7528",id:"\u4ee3\u7801\u4e2d\u4f7f\u7528",level:2},{value:"\u6ce8\u610f\u4e8b\u9879",id:"\u6ce8\u610f\u4e8b\u9879",level:2}],c={toc:p},u="wrapper";function d(e){let{components:t,...a}=e;return(0,l.kt)(u,(0,r.Z)({},c,a,{components:t,mdxType:"MDXLayout"}),(0,l.kt)("h1",{id:"\u5feb\u901f\u4e0a\u624b"},"\u5feb\u901f\u4e0a\u624b"),(0,l.kt)("p",null,"\u4e0e\u793e\u533a\u7248\u672c\u7684",(0,l.kt)("a",{parentName:"p",href:"/docs/beginner/quickstart"},"\u5feb\u901f\u4e0a\u624b"),"\u51e0\u4e4e\u5b8c\u5168\u76f8\u540c\uff0c\u672c\u6587\u6863\u53ea\u4ecb\u7ecd\u4e0d\u540c\u4e4b\u5904\u3002"),(0,l.kt)("h2",{id:"\u5b89\u88c5"},"\u5b89\u88c5"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"\u5c06hybridclr_unity\u89e3\u538b\u540e\uff0c\u653e\u5230\u9879\u76eePackages\u76ee\u5f55\u4e0b\uff0c\u6539\u540d\u4e3acom.code-philosophy.hybridclr"),(0,l.kt)("li",{parentName:"ul"},"\u6839\u636e\u4f60\u7684unity\u7248\u672c\u89e3\u538b\u5bf9\u5e94\u7684",(0,l.kt)("inlineCode",{parentName:"li"},"il2cpp_plus-{version}.zip")),(0,l.kt)("li",{parentName:"ul"},"\u89e3\u538b ",(0,l.kt)("inlineCode",{parentName:"li"},"hybridclr.zip")),(0,l.kt)("li",{parentName:"ul"},"\u5c06",(0,l.kt)("inlineCode",{parentName:"li"},"hybridclr.zip"),"\u89e3\u538b\u540e\u7684hybridclr\u76ee\u5f55\u653e\u5230",(0,l.kt)("inlineCode",{parentName:"li"},"il2cpp-{version}.zip"),"\u89e3\u538b\u540e\u7684libil2cpp\u76ee\u5f55\u4e0b"),(0,l.kt)("li",{parentName:"ul"},"\u6253\u5f00 ",(0,l.kt)("inlineCode",{parentName:"li"},"HybridCLR/Installer"),"\uff0c\u5f00\u542f",(0,l.kt)("inlineCode",{parentName:"li"},"\u4ece\u672c\u5730\u590d\u5236libil2cpp"),"\u9009\u9879\uff0c\u9009\u4e2d\u521a\u624d\u89e3\u538b\u7684libil2cpp\u76ee\u5f55\uff0c\u8fdb\u884c\u5b89\u88c5")),(0,l.kt)("p",null,(0,l.kt)("img",{alt:"installer",src:n(9456).Z,width:"805",height:"263"})),(0,l.kt)("h2",{id:"\u4ee3\u7801\u4e2d\u4f7f\u7528"},"\u4ee3\u7801\u4e2d\u4f7f\u7528"),(0,l.kt)("p",null,"\u8c03\u7528 ",(0,l.kt)("inlineCode",{parentName:"p"},"RuntimeApi.UnloadAssembly")," \u5378\u8f7d\u7a0b\u5e8f\u96c6\uff0c\u4f7f\u7528",(0,l.kt)("inlineCode",{parentName:"p"},"Assembly.Load"),"\u91cd\u65b0\u52a0\u8f7d\u7a0b\u5e8f\u96c6\u3002\u5f53\u524d\u4e0d\u652f\u6301\u5728\u672a\u5378\u8f7d\u8be5\u7a0b\u5e8f\u96c6\u7684\u60c5\u51b5\u4e0b\u518d\u6b21\u52a0\u8f7d\u8be5\u7a0b\u5e8f\u96c6\uff0c\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-csharp"},' // \u7b2c\u4e00\u6b21\u52a0\u8f7d\n Assembly ass = Assembly.Load(yyy);\n\n // \u6267\u884c\u4e00\u4e9b\u4ee3\u7801\n Type mainType = ass.GetType("Entry");\n mainType.GetMethod("Main").Invoke(null, null);\n\n // \u7b2c\u4e00\u6b21\u5378\u8f7d\n RuntimeApi.UnloadAssembly(ass);\n\n // \u7b2c\u4e8c\u6b21\u52a0\u8f7d\n Assembly newAss = Assembly.Load(yyy);\n\n // \u6267\u884c\u4e00\u4e9b\u4ee3\u7801\n Type mainType = ass.GetType("Entry");\n mainType.GetMethod("Main").Invoke(null, null);\n\n // \u7b2c\u4e8c\u6b21\u5378\u8f7d\n RuntimeApi.UnloadAssembly(ass);\n')),(0,l.kt)("h2",{id:"\u6ce8\u610f\u4e8b\u9879"},"\u6ce8\u610f\u4e8b\u9879"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},"async\u6216\u8005\u534f\u7a0b\u5f88\u5bb9\u6613\u9690\u5f0f\u5730\u5728\u5176\u4ed6\u7ebf\u7a0b\u4fdd\u6301\u4e86\u5bf9\u5378\u8f7d\u7a0b\u5e8f\u96c6\u4ee3\u7801\u7684\u5f15\u7528\uff0c\u5378\u8f7d\u524d\u8bf7\u52a1\u5fc5\u6e05\u7406\u6240\u6709\u5f02\u6b65\u6216\u8005\u534f\u7a0b\u51fd\u6570"),(0,l.kt)("li",{parentName:"ul"},"UI\u7684OnClick\u6216\u8005\u5404\u79cd\u56de\u8c03\u4e8b\u4ef6\u5f88\u5bb9\u6613\u5bfc\u81f4\u4fdd\u6301\u4e86\u5bf9\u5378\u8f7d\u7a0b\u5e8f\u96c6\u7684\u5f15\u7528\uff0c\u4e00\u5b9a\u8981\u6e05\u7406\u5e72\u51c0"),(0,l.kt)("li",{parentName:"ul"},"\u6ce8\u518c\u5230\u5168\u5c40\u7684\u4e8b\u4ef6\u6216\u8005\u5176\u4ed6\u52a0\u9ad8\uff0c\u5bb9\u6613\u610f\u5916\u4fdd\u6301\u4e86\u5bf9\u5378\u8f7d\u7a0b\u5e8f\u96c6\u7684\u5f15\u7528\uff0c\u4e00\u5b9a\u8981\u6e05\u7406\u5e72\u51c0"),(0,l.kt)("li",{parentName:"ul"},"\u6839\u636e",(0,l.kt)("inlineCode",{parentName:"li"},"RuntimeApi.UnloadAssembly"),"\u4e2d\u6253\u5370\u7684\u975e\u6cd5\u5f15\u7528\u7684\u65e5\u5fd7\uff0c\u6e05\u7406\u6389\u4ee3\u7801\u4e2d\u7684\u975e\u6cd5\u5f15\u7528")))}d.isMDXComponent=!0},9456:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n.p+"assets/images/ultimate-installer-8a4fc30b6b8adf2de3a8b75efd16894c.jpg"}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.d886a9ef.js b/assets/js/runtime~main.224633d5.js similarity index 97% rename from assets/js/runtime~main.d886a9ef.js rename to assets/js/runtime~main.224633d5.js index 20e00776b..c83d4bae8 100644 --- a/assets/js/runtime~main.d886a9ef.js +++ b/assets/js/runtime~main.224633d5.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,d,b,f,c={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={exports:{}};return c[e].call(d.exports,d,d.exports,r),d.exports}r.m=c,e=[],r.O=(a,d,b,f)=>{if(!d){var c=1/0;for(i=0;i=f)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[d,b,f]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var c={};a=a||[null,d({}),d([]),d(d)];for(var t=2&b&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,r.d(f,c),f},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({12:"f160c361",53:"935f2afb",90:"2efe1410",220:"6ec19757",533:"b2b675dd",685:"05f46752",688:"e044ccdf",852:"6704bb9d",964:"733c4d41",1176:"84b73551",1198:"72413e93",1286:"5edba3ff",1433:"ff8c06e1",1477:"b2f554cd",1634:"e6335e6f",1744:"7bef7309",1752:"dd53d751",1876:"2bead8bc",1977:"099d81ac",1998:"6d0a6812",2e3:"90e3b8d9",2034:"21ad55e6",2182:"f739fd9f",2243:"6a812547",2288:"cfa9d267",2306:"48d46c19",2365:"a7626ec9",2505:"0a31fa0b",2535:"814f3328",2616:"e9748e8f",2815:"918ca7cd",2828:"b7eeea20",2838:"635e1cda",2857:"cab0a0b1",2965:"c9dac562",3089:"a6aa9e1f",3131:"fe886eaa",3170:"b74f6ad3",3423:"7d20b2b1",3503:"744de10c",3608:"9e4087bc",3764:"7618167c",3775:"6ecda459",3777:"303a7ab0",3892:"0f4b3ece",4140:"5aff3be2",4195:"c4f5d8e4",4369:"9e92f087",4475:"bacda3a9",4569:"39b1bd06",5041:"ebee79fe",5048:"bbd26a74",5080:"88236a13",5133:"3d63e4cd",5153:"c9aab52f",5183:"032c34c3",5367:"26b576d2",5649:"5dd67a5f",5650:"5148d8fe",5659:"27b4bb7f",5746:"5a96aca1",5936:"1566bc1f",6103:"ccc49370",6191:"04fadddf",6290:"1d92ca72",6333:"41bb1898",6468:"4dfc0651",6695:"1c517ff1",6729:"bdd7c4d4",6848:"f33e1a49",6946:"2b2937ed",7020:"ba76a366",7040:"fbd8196d",7065:"80680481",7087:"1b21ecc3",7203:"f4f82255",7589:"0ccd1bc3",7681:"a99908d5",7884:"c71319a4",7918:"17896441",7920:"1a4e3797",7972:"2e1b2baa",7991:"7faaab83",8052:"b7e34b9a",8063:"f93d3a31",8787:"c55163c5",9106:"3d345fd1",9124:"c4ad3b7e",9451:"355d470d",9462:"9b588bbf",9514:"1be78505",9650:"e8c40ffe",9671:"0e384e19",9817:"14eb3368",9822:"3d291b3d",9888:"026413ce"}[e]||e)+"."+{12:"496fad6d",53:"c33b2b6d",90:"7aa895fb",220:"0f1d1daf",533:"d838adc3",685:"d3ce7589",688:"1e20efd2",852:"b96087c3",964:"ef6332f7",1176:"02df715b",1198:"875b3be6",1286:"c8fd6b3e",1426:"de2b7f72",1433:"11990627",1477:"65b4b0f1",1634:"c0a5ed97",1744:"c4d83df4",1752:"dfbaf82d",1876:"c77b044c",1977:"4adddda8",1998:"8ea6ece9",2e3:"178d4e3f",2034:"f05e7d12",2182:"ad078e06",2243:"3e49ddbd",2288:"23488626",2306:"532d567d",2365:"1a7ed67a",2505:"4483d521",2535:"9d9ea10e",2616:"8ff4f04a",2815:"0acead41",2828:"cbb0c6af",2838:"db36e186",2857:"e6128cda",2965:"122778b2",3089:"d1467cbe",3131:"c03d0775",3170:"c111c296",3423:"dfcebd24",3503:"8579c521",3608:"e989768d",3764:"2b7401cb",3775:"6eafc553",3777:"f657297a",3892:"c9ab43bc",4140:"d963f67e",4195:"e054211d",4369:"b5c7610f",4475:"a5874148",4569:"e57052c7",4972:"3d0f496c",5041:"4b8329c2",5048:"6790acbd",5080:"69a05ad9",5133:"ce7e4d23",5153:"06d401cc",5183:"2f2bf67e",5367:"866585e9",5649:"7a9198ab",5650:"dc4901be",5659:"f30530ec",5746:"f49f1414",5936:"4a9652f1",6048:"779f8c90",6103:"1d3911bc",6186:"170d1bc9",6191:"d8c75018",6290:"3e88330e",6333:"5094bbc9",6468:"34a19723",6695:"58bed521",6729:"a2018f49",6848:"ab097966",6945:"94f4a660",6946:"3c504ec0",7020:"2330e1fc",7040:"991d648b",7065:"62a4c757",7087:"608a04ff",7203:"5479f5ff",7589:"3ae65c80",7681:"ee00bf9a",7884:"31e49daa",7918:"f596931a",7920:"275f830e",7972:"0ad87c0e",7991:"aa2aec16",8052:"022da9e7",8063:"2193695e",8787:"00243471",8894:"91734414",9106:"16561613",9124:"b8f62a18",9451:"594f8519",9462:"50553e65",9514:"209895ce",9650:"d61cea8b",9671:"fae1fbd2",9817:"3f1657f1",9822:"9139634b",9888:"b74cd375"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},f="my-website:",r.l=(e,a,d,c)=>{if(b[e])b[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var f=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(d))),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"7918",80680481:"7065",f160c361:"12","935f2afb":"53","2efe1410":"90","6ec19757":"220",b2b675dd:"533","05f46752":"685",e044ccdf:"688","6704bb9d":"852","733c4d41":"964","84b73551":"1176","72413e93":"1198","5edba3ff":"1286",ff8c06e1:"1433",b2f554cd:"1477",e6335e6f:"1634","7bef7309":"1744",dd53d751:"1752","2bead8bc":"1876","099d81ac":"1977","6d0a6812":"1998","90e3b8d9":"2000","21ad55e6":"2034",f739fd9f:"2182","6a812547":"2243",cfa9d267:"2288","48d46c19":"2306",a7626ec9:"2365","0a31fa0b":"2505","814f3328":"2535",e9748e8f:"2616","918ca7cd":"2815",b7eeea20:"2828","635e1cda":"2838",cab0a0b1:"2857",c9dac562:"2965",a6aa9e1f:"3089",fe886eaa:"3131",b74f6ad3:"3170","7d20b2b1":"3423","744de10c":"3503","9e4087bc":"3608","7618167c":"3764","6ecda459":"3775","303a7ab0":"3777","0f4b3ece":"3892","5aff3be2":"4140",c4f5d8e4:"4195","9e92f087":"4369",bacda3a9:"4475","39b1bd06":"4569",ebee79fe:"5041",bbd26a74:"5048","88236a13":"5080","3d63e4cd":"5133",c9aab52f:"5153","032c34c3":"5183","26b576d2":"5367","5dd67a5f":"5649","5148d8fe":"5650","27b4bb7f":"5659","5a96aca1":"5746","1566bc1f":"5936",ccc49370:"6103","04fadddf":"6191","1d92ca72":"6290","41bb1898":"6333","4dfc0651":"6468","1c517ff1":"6695",bdd7c4d4:"6729",f33e1a49:"6848","2b2937ed":"6946",ba76a366:"7020",fbd8196d:"7040","1b21ecc3":"7087",f4f82255:"7203","0ccd1bc3":"7589",a99908d5:"7681",c71319a4:"7884","1a4e3797":"7920","2e1b2baa":"7972","7faaab83":"7991",b7e34b9a:"8052",f93d3a31:"8063",c55163c5:"8787","3d345fd1":"9106",c4ad3b7e:"9124","355d470d":"9451","9b588bbf":"9462","1be78505":"9514",e8c40ffe:"9650","0e384e19":"9671","14eb3368":"9817","3d291b3d":"9822","026413ce":"9888"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)d.push(b[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var f=new Promise(((d,f)=>b=e[a]=[d,f]));d.push(b[2]=f);var c=r.p+r.u(a),t=new Error;r.l(c,(d=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var f=d&&("load"===d.type?"missing":d.type),c=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",t.name="ChunkLoadError",t.type=f,t.request=c,b[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var b,f,c=d[0],t=d[1],o=d[2],n=0;if(c.some((a=>0!==e[a]))){for(b in t)r.o(t,b)&&(r.m[b]=t[b]);if(o)var i=o(r)}for(a&&a(d);n{"use strict";var e,a,d,b,f,c={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={exports:{}};return c[e].call(d.exports,d,d.exports,r),d.exports}r.m=c,e=[],r.O=(a,d,b,f)=>{if(!d){var c=1/0;for(i=0;i=f)&&Object.keys(r.O).every((e=>r.O[e](d[o])))?d.splice(o--,1):(t=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[d,b,f]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var c={};a=a||[null,d({}),d([]),d(d)];for(var t=2&b&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,r.d(f,c),f},r.d=(e,a)=>{for(var d in a)r.o(a,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,d)=>(r.f[d](e,a),a)),[])),r.u=e=>"assets/js/"+({12:"f160c361",53:"935f2afb",90:"2efe1410",220:"6ec19757",533:"b2b675dd",685:"05f46752",688:"e044ccdf",852:"6704bb9d",964:"733c4d41",1176:"84b73551",1198:"72413e93",1286:"5edba3ff",1433:"ff8c06e1",1477:"b2f554cd",1634:"e6335e6f",1744:"7bef7309",1752:"dd53d751",1876:"2bead8bc",1977:"099d81ac",1998:"6d0a6812",2e3:"90e3b8d9",2034:"21ad55e6",2182:"f739fd9f",2243:"6a812547",2288:"cfa9d267",2306:"48d46c19",2365:"a7626ec9",2505:"0a31fa0b",2535:"814f3328",2616:"e9748e8f",2815:"918ca7cd",2828:"b7eeea20",2838:"635e1cda",2857:"cab0a0b1",2965:"c9dac562",3089:"a6aa9e1f",3131:"fe886eaa",3170:"b74f6ad3",3423:"7d20b2b1",3503:"744de10c",3608:"9e4087bc",3764:"7618167c",3775:"6ecda459",3777:"303a7ab0",3892:"0f4b3ece",4140:"5aff3be2",4195:"c4f5d8e4",4369:"9e92f087",4475:"bacda3a9",4569:"39b1bd06",5041:"ebee79fe",5048:"bbd26a74",5080:"88236a13",5133:"3d63e4cd",5153:"c9aab52f",5183:"032c34c3",5367:"26b576d2",5649:"5dd67a5f",5650:"5148d8fe",5659:"27b4bb7f",5746:"5a96aca1",5936:"1566bc1f",6103:"ccc49370",6191:"04fadddf",6290:"1d92ca72",6333:"41bb1898",6468:"4dfc0651",6695:"1c517ff1",6729:"bdd7c4d4",6848:"f33e1a49",6946:"2b2937ed",7020:"ba76a366",7040:"fbd8196d",7065:"80680481",7087:"1b21ecc3",7203:"f4f82255",7589:"0ccd1bc3",7681:"a99908d5",7884:"c71319a4",7918:"17896441",7920:"1a4e3797",7972:"2e1b2baa",7991:"7faaab83",8052:"b7e34b9a",8063:"f93d3a31",8787:"c55163c5",9106:"3d345fd1",9124:"c4ad3b7e",9451:"355d470d",9462:"9b588bbf",9514:"1be78505",9650:"e8c40ffe",9671:"0e384e19",9817:"14eb3368",9822:"3d291b3d",9888:"026413ce"}[e]||e)+"."+{12:"496fad6d",53:"c33b2b6d",90:"7aa895fb",220:"0f1d1daf",533:"d838adc3",685:"d3ce7589",688:"1e20efd2",852:"b96087c3",964:"ef6332f7",1176:"02df715b",1198:"3edf80c7",1286:"c8fd6b3e",1426:"de2b7f72",1433:"11990627",1477:"65b4b0f1",1634:"c0a5ed97",1744:"c4d83df4",1752:"dfbaf82d",1876:"c77b044c",1977:"d7692a9b",1998:"8ea6ece9",2e3:"178d4e3f",2034:"f05e7d12",2182:"ad078e06",2243:"3e49ddbd",2288:"23488626",2306:"532d567d",2365:"1a7ed67a",2505:"4483d521",2535:"9d9ea10e",2616:"8ff4f04a",2815:"0acead41",2828:"cbb0c6af",2838:"db36e186",2857:"e6128cda",2965:"122778b2",3089:"d1467cbe",3131:"c03d0775",3170:"c111c296",3423:"dfcebd24",3503:"8579c521",3608:"e989768d",3764:"2b7401cb",3775:"6eafc553",3777:"f657297a",3892:"c9ab43bc",4140:"d963f67e",4195:"e054211d",4369:"b5c7610f",4475:"a5874148",4569:"e57052c7",4972:"3d0f496c",5041:"4b8329c2",5048:"6790acbd",5080:"69a05ad9",5133:"ce7e4d23",5153:"06d401cc",5183:"2f2bf67e",5367:"866585e9",5649:"7a9198ab",5650:"dc4901be",5659:"f30530ec",5746:"f49f1414",5936:"4a9652f1",6048:"779f8c90",6103:"1d3911bc",6186:"170d1bc9",6191:"d8c75018",6290:"3e88330e",6333:"5094bbc9",6468:"34a19723",6695:"58bed521",6729:"a2018f49",6848:"ab097966",6945:"94f4a660",6946:"3c504ec0",7020:"2330e1fc",7040:"991d648b",7065:"62a4c757",7087:"608a04ff",7203:"5479f5ff",7589:"3ae65c80",7681:"ee00bf9a",7884:"31e49daa",7918:"f596931a",7920:"275f830e",7972:"0ad87c0e",7991:"aa2aec16",8052:"022da9e7",8063:"2193695e",8787:"00243471",8894:"91734414",9106:"16561613",9124:"b8f62a18",9451:"594f8519",9462:"39def91a",9514:"209895ce",9650:"d61cea8b",9671:"fae1fbd2",9817:"3f1657f1",9822:"9139634b",9888:"b74cd375"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},f="my-website:",r.l=(e,a,d,c)=>{if(b[e])b[e].push(a);else{var t,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var f=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(d))),a)return a(d)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",r.gca=function(e){return e={17896441:"7918",80680481:"7065",f160c361:"12","935f2afb":"53","2efe1410":"90","6ec19757":"220",b2b675dd:"533","05f46752":"685",e044ccdf:"688","6704bb9d":"852","733c4d41":"964","84b73551":"1176","72413e93":"1198","5edba3ff":"1286",ff8c06e1:"1433",b2f554cd:"1477",e6335e6f:"1634","7bef7309":"1744",dd53d751:"1752","2bead8bc":"1876","099d81ac":"1977","6d0a6812":"1998","90e3b8d9":"2000","21ad55e6":"2034",f739fd9f:"2182","6a812547":"2243",cfa9d267:"2288","48d46c19":"2306",a7626ec9:"2365","0a31fa0b":"2505","814f3328":"2535",e9748e8f:"2616","918ca7cd":"2815",b7eeea20:"2828","635e1cda":"2838",cab0a0b1:"2857",c9dac562:"2965",a6aa9e1f:"3089",fe886eaa:"3131",b74f6ad3:"3170","7d20b2b1":"3423","744de10c":"3503","9e4087bc":"3608","7618167c":"3764","6ecda459":"3775","303a7ab0":"3777","0f4b3ece":"3892","5aff3be2":"4140",c4f5d8e4:"4195","9e92f087":"4369",bacda3a9:"4475","39b1bd06":"4569",ebee79fe:"5041",bbd26a74:"5048","88236a13":"5080","3d63e4cd":"5133",c9aab52f:"5153","032c34c3":"5183","26b576d2":"5367","5dd67a5f":"5649","5148d8fe":"5650","27b4bb7f":"5659","5a96aca1":"5746","1566bc1f":"5936",ccc49370:"6103","04fadddf":"6191","1d92ca72":"6290","41bb1898":"6333","4dfc0651":"6468","1c517ff1":"6695",bdd7c4d4:"6729",f33e1a49:"6848","2b2937ed":"6946",ba76a366:"7020",fbd8196d:"7040","1b21ecc3":"7087",f4f82255:"7203","0ccd1bc3":"7589",a99908d5:"7681",c71319a4:"7884","1a4e3797":"7920","2e1b2baa":"7972","7faaab83":"7991",b7e34b9a:"8052",f93d3a31:"8063",c55163c5:"8787","3d345fd1":"9106",c4ad3b7e:"9124","355d470d":"9451","9b588bbf":"9462","1be78505":"9514",e8c40ffe:"9650","0e384e19":"9671","14eb3368":"9817","3d291b3d":"9822","026413ce":"9888"}[e]||e,r.p+r.u(e)},(()=>{var e={1303:0,532:0};r.f.j=(a,d)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)d.push(b[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var f=new Promise(((d,f)=>b=e[a]=[d,f]));d.push(b[2]=f);var c=r.p+r.u(a),t=new Error;r.l(c,(d=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var f=d&&("load"===d.type?"missing":d.type),c=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",t.name="ChunkLoadError",t.type=f,t.request=c,b[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,d)=>{var b,f,c=d[0],t=d[1],o=d[2],n=0;if(c.some((a=>0!==e[a]))){for(b in t)r.o(t,b)&&(r.m[b]=t[b]);if(o)var i=o(r)}for(a&&a(d);n