{"id":946,"date":"2024-09-19T18:01:09","date_gmt":"2024-09-19T10:01:09","guid":{"rendered":"https:\/\/www.huangjiaqi-mise.site\/?p=946"},"modified":"2024-09-19T18:20:23","modified_gmt":"2024-09-19T10:20:23","slug":"%e7%94%a8-unity-%e6%9e%84%e5%bb%ba%e6%a8%a1%e6%8b%9f%e7%b3%bb%e7%bb%9f-%e4%ba%8b%e4%bb%b6%e5%87%bd%e6%95%b0%e7%9a%84%e6%89%a7%e8%a1%8c%e9%a1%ba%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/www.huangjiaqi-mise.site\/?p=946","title":{"rendered":"\u7528 Unity \u6784\u5efa\u6a21\u62df\u7cfb\u7edf \u2013 \u4e8b\u4ef6\u51fd\u6570\u7684\u6267\u884c\u987a\u5e8f"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"946\" class=\"elementor elementor-946\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-418da76 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"418da76\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ea61306\" data-id=\"ea61306\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d9b61be elementor-widget-divider--separator-type-pattern elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"d9b61be\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\" style=\"--divider-pattern-url: url(&quot;data:image\/svg+xml,%3Csvg xmlns=&#039;http:\/\/www.w3.org\/2000\/svg&#039; preserveAspectRatio=&#039;none&#039; overflow=&#039;visible&#039; height=&#039;100%&#039; viewBox=&#039;0 0 20 16&#039; fill=&#039;none&#039; stroke=&#039;black&#039; stroke-width=&#039;1&#039; stroke-linecap=&#039;square&#039; stroke-miterlimit=&#039;10&#039;%3E%3Cg transform=&#039;translate(-12.000000, 0)&#039;%3E%3Cpath d=&#039;M28,0L10,18&#039;\/%3E%3Cpath d=&#039;M18,0L0,18&#039;\/%3E%3Cpath d=&#039;M48,0L30,18&#039;\/%3E%3Cpath d=&#039;M38,0L20,18&#039;\/%3E%3C\/g%3E%3C\/svg%3E&quot;);\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b749f78 elementor-widget elementor-widget-text-editor\" data-id=\"b749f78\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h4>\u4e00\u3001\u4e07\u7269\u4e4b\u6e90\u2014\u2014MonoBehaviour\u7c7b<\/h4><p>MonoBehaviour \u662f Unity \u4e2d\u6240\u6709\u811a\u672c\u7684\u57fa\u7c7b\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7528\u4e8e\u5b9e\u73b0\u6e38\u620f\u5bf9\u8c61\u884c\u4e3a\u7684\u529f\u80fd\u3002\u901a\u8fc7\u7ee7\u627f MonoBehaviour\uff0c\u7528\u6237\u53ef\u4ee5\u521b\u5efa\u81ea\u5b9a\u4e49\u7684\u811a\u672c\uff0c\u4ee5\u63a7\u5236\u6e38\u620f\u5bf9\u8c61\u7684\u751f\u547d\u5468\u671f\u3001\u54cd\u5e94\u4e8b\u4ef6\u548c\u7ba1\u7406\u6e38\u620f\u903b\u8f91\u3002\u5b83\u5177\u6709\u4ee5\u4e0b\u4e3b\u8981\u529f\u80fd\uff1a<\/p><ol><li><p><strong>\u751f\u547d\u5468\u671f\u7ba1\u7406<\/strong>\uff1a<code style=\"font-style: inherit; font-weight: inherit;\">MonoBehaviour<\/code><span style=\"font-size: 16px;\">\u00a0\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u7684\u4e8b\u4ef6\u51fd\u6570\uff08\u5982\u00a0<\/span><code style=\"font-style: inherit; font-weight: inherit;\">Awake()<\/code><span style=\"font-size: 16px;\">\u3001<\/span><code style=\"font-style: inherit; font-weight: inherit;\">Start()<\/code><span style=\"font-size: 16px;\">\u3001<\/span><code style=\"font-style: inherit; font-weight: inherit;\">Update()<\/code><span style=\"font-size: 16px;\">\u00a0\u7b49\uff09\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u7ba1\u7406\u5bf9\u8c61\u7684\u751f\u547d\u5468\u671f\u3002<\/span><\/p><\/li><li><p><strong>\u7ec4\u4ef6\u7cfb\u7edf<\/strong>\uff1a<span style=\"font-size: 16px;\">Unity \u4f7f\u7528\u7ec4\u4ef6\u5316\u7684\u8bbe\u8ba1\uff0c<\/span><code style=\"font-style: inherit; font-weight: inherit;\">MonoBehaviour<\/code><span style=\"font-size: 16px;\">\u00a0\u5141\u8bb8\u4f60\u5c06\u529f\u80fd\u6a21\u5757\u5316\uff0c\u4fbf\u4e8e\u5728\u4e0d\u540c\u7684\u6e38\u620f\u5bf9\u8c61\u4e4b\u95f4\u91cd\u7528\u4ee3\u7801\u3002<\/span><\/p><\/li><li><p><strong>\u8bbf\u95ee Unity API<\/strong>\uff1a<span style=\"font-size: 16px;\">\u901a\u8fc7\u00a0<\/span><code style=\"font-style: inherit; font-weight: inherit;\">MonoBehaviour<\/code><span style=\"font-size: 16px;\">\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bbf\u95ee Unity \u7684\u8bb8\u591a\u529f\u80fd\uff0c\u5982\u7269\u7406\u5f15\u64ce\u3001\u6e32\u67d3\u7cfb\u7edf\u548c\u8f93\u5165\u7ba1\u7406\u3002<\/span><\/p><\/li><li><p><strong>\u534f\u7a0b\u652f\u6301<\/strong>\uff1a<code style=\"font-style: inherit; font-weight: inherit;\">MonoBehaviour<\/code><span style=\"font-size: 16px;\">\u00a0\u652f\u6301\u534f\u7a0b\uff0c\u5141\u8bb8\u4f60\u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u6267\u884c\u4ee3\u7801\uff0c\u800c\u4e0d\u4f1a\u963b\u585e\u4e3b\u7ebf\u7a0b\u3002<\/span><\/p><\/li><\/ol><h4>\u4e8c\u3001\u4ec0\u4e48\u662f\u811a\u672c\u751f\u547d\u5468\u671f\uff1f<\/h4><p>\u811a\u672c\u751f\u547d\u5468\u671f\u662f\u6307 Unity \u4e2d MonoBehaviour \u811a\u672c\u7684\u6267\u884c<span style=\"text-decoration: underline;\"><strong>\u987a\u5e8f<\/strong><\/span>\u548c<span style=\"text-decoration: underline;\"><strong>\u65f6\u95f4\u70b9<\/strong><\/span>\u3002\u4e86\u89e3\u811a\u672c\u751f\u547d\u5468\u671f\u5bf9\u4e8e\u7f16\u5199\u6709\u6548\u7684\u6e38\u620f\u903b\u8f91\u81f3\u5173\u91cd\u8981\u3002\u4ee5\u4e0b\u662f MonoBehaviour \u7684\u4e3b\u8981\u751f\u547d\u5468\u671f\u4e8b\u4ef6\u51fd\u6570\u53ca\u5176\u987a\u5e8f\uff0c\u5177\u4f53\u5176\u4ed6\u4e8b\u4ef6\u51fd\u6570\u7684\u6267\u884c\u5468\u671f\u53ef\u4ee5\u53c2\u8003<a href=\"https:\/\/docs.unity3d.com\/cn\/current\/Manual\/ExecutionOrder.html\">Unity\u8bf4\u660e\u6587\u6863<\/a>\u7684\u5177\u4f53\u5185\u5bb9\uff1a<\/p><p><strong>1.\u00a0Awake()<\/strong><\/p><ul><li><strong>\u8c03\u7528\u65f6\u673a<\/strong>\uff1a\u811a\u672c\u5b9e\u4f8b\u88ab\u52a0\u8f7d\u65f6\u3002<\/li><li><strong>\u7528\u9014<\/strong>\uff1a\u7528\u4e8e\u521d\u59cb\u5316\u53d8\u91cf\u6216\u72b6\u6001\uff0c\u901a\u5e38\u5728\u6e38\u620f\u5bf9\u8c61\u542f\u7528\u4e4b\u524d\u6267\u884c\u3002<\/li><\/ul><p><strong>2.\u00a0OnEnable()<\/strong><\/p><ul><li><strong>\u8c03\u7528\u65f6\u673a<\/strong>\uff1a\u5bf9\u8c61\u542f\u7528\u65f6\u3002<\/li><li><strong>\u7528\u9014<\/strong>\uff1a\u53ef\u4ee5\u5728\u6b64\u5904\u8ba2\u9605\u4e8b\u4ef6\u6216\u8fdb\u884c\u521d\u59cb\u5316\u64cd\u4f5c\u3002<\/li><\/ul><p><strong>3.\u00a0Start()<\/strong><\/p><ul><li><strong>\u8c03\u7528\u65f6\u673a<\/strong>\uff1a\u5728\u7b2c\u4e00\u6b21\u66f4\u65b0\u4e4b\u524d\u8c03\u7528\u3002<\/li><li><strong>\u7528\u9014<\/strong>\uff1a\u7528\u4e8e\u8fdb\u884c\u4e00\u6b21\u6027\u521d\u59cb\u5316\uff0c\u786e\u4fdd\u6240\u6709\u5f15\u7528\u5df2\u8bbe\u7f6e\u3002<\/li><\/ul><p><strong>4.\u00a0Update()<\/strong><\/p><ul><li><strong>\u8c03\u7528\u65f6\u673a<\/strong>\uff1a\u6bcf\u4e00\u5e27\u8c03\u7528\u4e00\u6b21\u3002<\/li><li><strong>\u7528\u9014<\/strong>\uff1a\u5904\u7406\u6bcf\u5e27\u9700\u8981\u66f4\u65b0\u7684\u903b\u8f91\uff0c\u4f8b\u5982\u8f93\u5165\u5904\u7406\u548c\u5bf9\u8c61\u79fb\u52a8\u3002<\/li><\/ul><p><strong>5.\u00a0FixedUpdate()<\/strong><\/p><ul><li><strong>\u8c03\u7528\u65f6\u673a<\/strong>\uff1a\u6bcf\u56fa\u5b9a\u65f6\u95f4\u95f4\u9694\u8c03\u7528\u3002<\/li><li><strong>\u7528\u9014<\/strong>\uff1a\u9002\u7528\u4e8e\u7269\u7406\u8ba1\u7b97\uff08\u5982 Rigidbody \u7684\u79fb\u52a8\uff09\uff0c\u56e0\u4e3a\u5b83\u4ee5\u56fa\u5b9a\u9891\u7387\u6267\u884c\u3002<\/li><\/ul><p><strong>6.\u00a0LateUpdate()<\/strong><\/p><ul><li><strong>\u8c03\u7528\u65f6\u673a<\/strong>\uff1a\u5728\u6240\u6709 Update \u8c03\u7528\u4e4b\u540e\u3002<\/li><li><strong>\u7528\u9014<\/strong>\uff1a\u7528\u4e8e\u76f8\u673a\u8ddf\u968f\u7b49\u9700\u8981\u5728\u6240\u6709\u5176\u4ed6\u66f4\u65b0\u540e\u6267\u884c\u7684\u64cd\u4f5c\u3002<\/li><\/ul><p><strong>7.\u00a0OnDisable()<\/strong><\/p><ul><li><strong>\u8c03\u7528\u65f6\u673a<\/strong>\uff1a\u5bf9\u8c61\u7981\u7528\u65f6\u3002<\/li><li><strong>\u7528\u9014<\/strong>\uff1a\u901a\u5e38\u7528\u4e8e\u53d6\u6d88\u4e8b\u4ef6\u8ba2\u9605\u6216\u6e05\u7406\u8d44\u6e90\u3002<\/li><\/ul><p><strong>8.\u00a0OnDestroy()<\/strong><\/p><ul><li><strong>\u8c03\u7528\u65f6\u673a<\/strong>\uff1a\u5bf9\u8c61\u9500\u6bc1\u4e4b\u524d\u8c03\u7528\u3002<\/li><li><strong>\u7528\u9014<\/strong>\uff1a\u7528\u4e8e\u91ca\u653e\u8d44\u6e90\u6216\u6267\u884c\u6e05\u7406\u5de5\u4f5c\u3002<\/li><\/ul><h4>\u4e09\u3001\u4ec0\u4e48\u662f\u65f6\u95f4\u51fd\u6570\uff1f<\/h4><p>\u4e8b\u4ef6\u51fd\u6570\u662f Unity \u4e2d MonoBehaviour \u7c7b\u63d0\u4f9b\u7684\u4e00\u7ec4\u7279\u6b8a\u65b9\u6cd5\uff0c\u7528\u4e8e\u54cd\u5e94\u7279\u5b9a\u4e8b\u4ef6\u6216\u6761\u4ef6\u3002\u8fd9\u4e9b\u51fd\u6570\u5728\u7279\u5b9a\u7684\u4e0a\u4e0b\u6587\u4e2d\u88ab\u81ea\u52a8\u8c03\u7528\uff0c\u5141\u8bb8\u5f00\u53d1\u8005\u5b9e\u73b0\u6e38\u620f\u5bf9\u8c61\u7684\u52a8\u6001\u884c\u4e3a\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u4e8b\u4ef6\u51fd\u6570\u53ca\u5176\u7528\u9014\uff1a<\/p><ol><li><p><strong>Awake()\uff1a<\/strong><span style=\"font-size: 16px;\">\u5728\u811a\u672c\u5b9e\u4f8b\u88ab\u52a0\u8f7d\u65f6\u8c03\u7528\u3002\u5e38\u7528\u4e8e\u521d\u59cb\u5316\u53d8\u91cf\u3002<\/span><\/p><\/li><li><p><strong>OnEnable()\uff1a<\/strong><span style=\"font-size: 16px;\">\u5f53\u6e38\u620f\u5bf9\u8c61\u542f\u7528\u65f6\u8c03\u7528\u3002\u9002\u5408\u8fdb\u884c\u4e8b\u4ef6\u8ba2\u9605\u6216\u521d\u59cb\u5316\u3002<\/span><\/p><\/li><li><p><strong>Start()\uff1a<\/strong><span style=\"font-size: 16px;\">\u5728\u7b2c\u4e00\u6b21\u66f4\u65b0\u4e4b\u524d\u8c03\u7528\u3002\u7528\u4e8e\u4e00\u6b21\u6027\u521d\u59cb\u5316\u3002<\/span><\/p><\/li><li><p><strong>Update()\uff1a<\/strong><span style=\"font-size: 16px;\">\u6bcf\u5e27\u8c03\u7528\u4e00\u6b21\u3002\u5904\u7406\u6bcf\u5e27\u9700\u8981\u66f4\u65b0\u7684\u903b\u8f91\uff0c\u5982\u8f93\u5165\u5904\u7406\u548c\u79fb\u52a8\u3002<\/span><\/p><\/li><li><p><strong>FixedUpdate()\uff1a<\/strong><span style=\"font-size: 16px;\">\u6bcf\u56fa\u5b9a\u65f6\u95f4\u95f4\u9694\u8c03\u7528\u3002\u9002\u5408\u7269\u7406\u8ba1\u7b97\uff0c\u4f8b\u5982 Rigidbody \u7684\u79fb\u52a8\u3002<\/span><\/p><\/li><li><p><strong>LateUpdate()\uff1a<\/strong><span style=\"font-size: 16px;\">\u5728\u6240\u6709 Update \u8c03\u7528\u4e4b\u540e\u8c03\u7528\u3002\u7528\u4e8e\u76f8\u673a\u8ddf\u968f\u7b49\u9700\u8981\u5728\u5176\u4ed6\u66f4\u65b0\u540e\u6267\u884c\u7684\u64cd\u4f5c\u3002<\/span><\/p><\/li><li><p><strong>OnDisable()\uff1a<\/strong><span style=\"font-size: 16px;\">\u5f53\u5bf9\u8c61\u88ab\u7981\u7528\u65f6\u8c03\u7528\u3002\u7528\u4e8e\u53d6\u6d88\u4e8b\u4ef6\u8ba2\u9605\u6216\u6e05\u7406\u8d44\u6e90\u3002<\/span><\/p><\/li><li><p><strong>OnDestroy()\uff1a<\/strong><span style=\"font-size: 16px;\">\u5728\u5bf9\u8c61\u9500\u6bc1\u4e4b\u524d\u8c03\u7528\u3002\u7528\u4e8e\u91ca\u653e\u8d44\u6e90\u6216\u6267\u884c\u6e05\u7406\u5de5\u4f5c\u3002<\/span><\/p><\/li><\/ol><p>\u7269\u7406\u548c\u78b0\u649e\u4e8b\u4ef6\uff1a<\/p><ol><li><strong>OnCollisionEnter()\uff1a<\/strong>\u5f53\u7269\u4f53\u53d1\u751f\u78b0\u649e\u65f6\u8c03\u7528\u3002<\/li><li><strong>OnCollisionExit()\uff1a<\/strong>\u5f53\u7269\u4f53\u505c\u6b62\u78b0\u649e\u65f6\u8c03\u7528\u3002<\/li><li><strong style=\"font-size: 16px;\">OnTriggerEnter()\uff1a<\/strong>\u5f53\u7269\u4f53\u8fdb\u5165\u89e6\u53d1\u5668\u65f6\u8c03\u7528\u3002<\/li><li><strong style=\"font-size: 16px;\">OnTriggerExit()\uff1a<\/strong>\u5f53\u7269\u4f53\u79bb\u5f00\u89e6\u53d1\u5668\u65f6\u8c03\u7528\u3002<\/li><\/ol><p>\u7528\u6237\u8f93\u5165\u4e8b\u4ef6\uff1a<\/p><ol><li><strong>OnMouseDown()\uff1a<\/strong><span style=\"font-size: 16px;\">\u5f53\u9f20\u6807\u70b9\u51fb\u6e38\u620f\u5bf9\u8c61\u65f6\u8c03\u7528\u3002<\/span><\/li><\/ol><p><strong>OnMouseUp()\uff1a<\/strong><span style=\"font-size: 16px;\"><span style=\"font-size: 16px;\">\u5f53\u9f20\u6807\u91ca\u653e\u70b9\u51fb\u65f6\u8c03\u7528\u3002<\/span><\/span><\/p><h4>\u56db\u3001\u4ee3\u7801\u8303\u4f8b<\/h4><p>\u5728\u524d\u4e00\u7bc7\u535a\u5ba2\u4e2d\u6211\u4eec\u4ecb\u7ecd\u4e86\u534f\u7a0b\uff08Coroutine\uff09\uff0c\u5728\u672c\u8303\u4f8b\u4e2d\u6211\u4eec\u5c06\u901a\u8fc7\u4ee3\u7801\u7406\u89e3Unity\u4e2d\u5173\u952e\u4e8b\u4ef6\u51fd\u6570\u7684\u6267\u884c\u6d41\u7a0b\u3002<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-eb9fee4 elementor-widget elementor-widget-html\" data-id=\"eb9fee4\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre>\r\n<code>\r\nusing System.Collections;\r\nusing System.Collections.Generic;\r\nusing UnityEngine;\r\n\r\npublic class ExecutionSequence : MonoBehaviour\r\n{\r\n\r\n    int counter;\/\/ start is called before the first frame updatevoid start()\r\n\r\n    \/\/ Start is called before the first frame update\r\n    void Start()\r\n    {\r\n        StartCoroutine(\"myCoroutine\"); \r\n        print(\"start ends.\");\r\n    }\r\n\r\n    \/\/ Update is called once per frame\r\n    void Update()\r\n    {\r\n        if (counter < 10) print(\"frame:\" + counter++);\r\n    }\r\n\r\n    IEnumerator myCoroutine() \r\n    {\r\n        print(\"step1\");\r\n        yield return null;\r\n        print(\"step2\"); \r\n        print(\"step3\");\r\n\r\n    }\r\n\r\n}\r\n<\/code>\r\n<\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-128d63b elementor-widget elementor-widget-text-editor\" data-id=\"128d63b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h5>\u6267\u884c\u987a\u5e8f\u5982\u4e0b\uff1a<\/h5><ol><li>\u9996\u5148\uff0c<code>Start<\/code> \u65b9\u6cd5\u9996\u5148\u88ab\u8c03\u7528\uff0c\u534f\u7a0b\u00a0<code>myCoroutine<\/code> \u542f\u52a8\uff0c\u63a7\u5236\u53f0\u8f93\u51fa &#8220;step1&#8221; \u3002<\/li><li>\u6267\u884c\u5b8cyield return null; \u9000\u51fa\u534f\u7a0b\u51fd\u6570\uff0c\u6682\u505c\u5728\u4e0b\u4e00\u5e27\uff08\u4e0b\u4e00\u6b21Update\u6267\u884c\u540e\uff09\u7ee7\u7eed\u6267\u884c\u3002\u63a7\u5236\u53f0\u8f93\u51fa &#8220;start ends.&#8221;\u3002<\/li><li><code>Update<\/code> \u65b9\u6cd5\u7b2c\u4e00\u6b21\u8c03\u7528\uff0c <code>counter<\/code> \u75310\u5f00\u59cb\u8ba1\u6570\uff0c\u9996\u5148\u5728\u63a7\u5236\u53f0\u8f93\u51fa&#8221;frame: 0&#8243; \u3002<\/li><li>\u5f53\u00a0<code>Update<\/code> \u65b9\u6cd5\u8fd0\u884c\u5230\u4e0b\u4e00\u5e27\u65f6\uff08\u7b2c\u4e8c\u6b21\u8c03\u7528\uff09\uff0c\u63a7\u5236\u53f0\u8f93\u51fa&#8221;frame: 1&#8243; \u3002<\/li><li>\u534f\u7a0b\u7ee7\u7eed\u6267\u884c\uff0c\u63a7\u5236\u53f0\u6253\u5370\u8f93\u51fa &#8220;step2&#8221; \u548c &#8220;step3&#8243;\u3002\u81f3\u6b64\u534f\u7a0b\u6240\u6709\u5185\u5bb9\u6267\u884c\u5b8c\u6bd5\u3002<\/li><li>Update \u65b9\u6cd5\u518d\u6b21\u8c03\u7528\uff0c\u76f4\u5230 counter \u8fbe\u5230 9\u3002<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2ba3e11 elementor-widget elementor-widget-image\" data-id=\"2ba3e11\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"380\" height=\"595\" src=\"https:\/\/www.huangjiaqi-mise.site\/wp-content\/uploads\/2024\/09\/execution-sequence.png\" class=\"attachment-large size-large wp-image-954\" alt=\"\" srcset=\"https:\/\/www.huangjiaqi-mise.site\/wp-content\/uploads\/2024\/09\/execution-sequence.png 380w, https:\/\/www.huangjiaqi-mise.site\/wp-content\/uploads\/2024\/09\/execution-sequence-192x300.png 192w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bc0e620 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bc0e620\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3a19f51\" data-id=\"3a19f51\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b4382e5 elementor-widget-divider--separator-type-pattern elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"b4382e5\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\" style=\"--divider-pattern-url: url(&quot;data:image\/svg+xml,%3Csvg xmlns=&#039;http:\/\/www.w3.org\/2000\/svg&#039; preserveAspectRatio=&#039;none&#039; overflow=&#039;visible&#039; height=&#039;100%&#039; viewBox=&#039;0 0 20 16&#039; fill=&#039;none&#039; stroke=&#039;black&#039; stroke-width=&#039;1&#039; stroke-linecap=&#039;square&#039; stroke-miterlimit=&#039;10&#039;%3E%3Cg transform=&#039;translate(-12.000000, 0)&#039;%3E%3Cpath d=&#039;M28,0L10,18&#039;\/%3E%3Cpath d=&#039;M18,0L0,18&#039;\/%3E%3Cpath d=&#039;M48,0L30,18&#039;\/%3E%3Cpath d=&#039;M38,0L20,18&#039;\/%3E%3C\/g%3E%3C\/svg%3E&quot;);\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u4e07\u7269\u4e4b\u6e90\u2014\u2014MonoBehaviour\u7c7b MonoBehaviour \u662f Unity \u4e2d\u6240\u6709\u811a\u672c\u7684\u57fa\u7c7b\uff0c\u5b83 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[18],"tags":[],"class_list":["post-946","post","type-post","status-publish","format-standard","hentry","category-unity"],"_links":{"self":[{"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=\/wp\/v2\/posts\/946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=946"}],"version-history":[{"count":22,"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=\/wp\/v2\/posts\/946\/revisions"}],"predecessor-version":[{"id":995,"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=\/wp\/v2\/posts\/946\/revisions\/995"}],"wp:attachment":[{"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.huangjiaqi-mise.site\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}