{"id":842,"date":"2025-04-18T00:00:14","date_gmt":"2025-04-17T16:00:14","guid":{"rendered":"https:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/"},"modified":"2025-04-18T00:00:14","modified_gmt":"2025-04-17T16:00:14","slug":"unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad","status":"publish","type":"post","link":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/","title":{"rendered":"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad"},"content":{"rendered":"<div class=\"article_content clearfix\" id=\"article_content\">\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/kdoc_html_views-1a98987dfd.css\" rel=\"stylesheet\"\/>\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/ck_htmledit_views-704d5b9767.css\" rel=\"stylesheet\"\/>\n<div class=\"htmledit_views\" id=\"content_views\">\n<p>\n   \u4e00\u822c\u6765\u8bf4\uff0c\u53ea\u6709\u63a5\u5730\u7684\u89d2\u8272\u624d\u80fd\u8df3\u8d77\u6765\uff0c\u5426\u5219\u73a9\u5bb6\u53ef\u4ee5\u4e00\u76f4\u9694\u7a7a\u8df3\u76f4\u5230\u98de\u51fa\u5730\u56fe\u3002\u6240\u4ee5\u8fd9\u5c06\u6d89\u53ca\u5230\u5982\u4f55\u786e\u5b9a\u4ec0\u4e48\u65f6\u5019\u4eba\u7269\u5728\u5730\u9762\u4e0a\u3002\u4e3b\u6d41\u7684\u89e3\u51b3\u65b9\u6848\u4e00\u822c\u6709\u4e24\u4e2a\uff1a\n  <\/p>\n<ul>\n<li>\n    \u4e00\u4e2a\u662f\u4f7f\u7528\u78b0\u649e\u68c0\u6d4b\n   <\/li>\n<li>\n    \u53e6\u4e00\u4e2a\u662f\u4f7f\u7528\u5c04\u7ebf\n   <\/li>\n<\/ul>\n<p>\n   \u4e3a\u4e86\u66f4\u76f4\u89c2\u7684\u5c55\u793a,\u4e00\u4e2a\u7b80\u5355\u7684\u539f\u7406\u56fe1-1, \u5c06\u8f85\u52a9\u4ecb\u7ecd\u3002\n  <\/p>\n<hr\/>\n<div class=\"img-center\">\n<figure class=\"image\">\n   <\/figure>\n<\/p><\/div>\n<p>\n   \u5728\u78b0\u649e\u65b9\u6cd5\u4e2d\uff0c\u4e24\u4e2aUnityAPI\u5c06\u88ab\u7528\u6765\u68c0\u6d4b\u78b0\u649e:Collider.OnCollisionEnter(collision)\u548cCollider.OnCollisionExit(collision);\n  <\/p>\n<p>\n   \u539f\u7406\u662f\u8bbe\u7f6e\u4e00\u4e2a\u5e03\u5c14\u53d8\u91cfOnCollisionGrounded\uff0c\u5f53\u7403\u63a5\u89e6\u5230\u8be5\u5bf9\u8c61\u65f6\uff0c\u5c06\u53d8\u91cf\u8bbe\u7f6e\u4e3atrue\uff0c\u5f53\u7403\u79bb\u5f00\u8be5\u5bf9\u8c61\u65f6\uff0c\u5c06\u53d8\u91cf\u8bbe\u7f6e\u4e3afalse\uff1a\n  <\/p>\n<pre><code class=\"language-cs\"> void OnCollisionEnter(Collision col) \/\/\u53ef\u6539\u4e3a OnCollisionStay\n    {\n        OnCollisionGrounded = true;\n    }\n    void OnCollisionExit(Collision col)\n    {\n        OnCollisionGrounded = false;\n    }\n\n<\/code><\/pre>\n<p>\n   <br \/>\n   \u8be5\u65b9\u6cd5\u5982\u56fe1-1\u4e2d\u7684\u865a\u7ebf\u5706\u5708\u6240\u793a\uff0c<br \/>\n   <span style=\"color:#a2e043;\"><br \/>\n    \u7eff\u8272\u5706\u5708<br \/>\n   <\/span><br \/>\n   \u4ee3\u8868true\uff0c\u8868\u793a\u5df2\u7740\u9646\uff1b<br \/>\n   <span style=\"color:#fe2c24;\"><br \/>\n    \u7ea2\u8272\u5706\u5708<br \/>\n   <\/span><br \/>\n   \u4ee3\u8868false\uff0c\u8868\u793a\u672a\u7740\u9646\u3002\u8fd9\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u6709\u6548\u5730\u8fd0\u884c\u5f53\u4e14\u4ec5\u5f53\u89d2\u8272\u5728\u7edd\u5bf9\u5e73\u5766\u7684\u5730\u9762, \u5f53\u8868\u9762\u4e0d\u662f\u5e73\u7684,\u6216\u8005\u5f53\u89d2\u8272\u6709\u4e00\u70b9\u79bb\u5f00\u5730\u9762\u751a\u81f3\u53ea\u662f\u4e00\u4e2a\u5f88\u5c0f\u7684\u8ddd\u79bb,\u7269\u7406\u5f15\u64ce\u4e5f\u5c06\u5224\u5b9a\u6ca1\u6709\u63a5\u5730,\u8fd9\u5bfc\u81f4\u4e86\u73a9\u5bb6\u5728\u5e73\u5730\u8fd0\u52a8\u65f6\u4e0d\u80fd\u6309\u4ed6\u4eec\u6240\u60f3\u7684\u53ca\u65f6\u8df3\u8d77\u6765\uff0c\u5982\u56fe1-1\u4e2d\u7684\u6848\u4f8b2\u6240\u793a\u3002\n  <\/p>\n<p>\n   \u5728\u5b9e\u9645\u7684\u7528\u6237\u4f53\u9a8c\u53cd\u9988\u4e2d\uff0c\u5f53\u73a9\u5bb6\u5728\u590d\u6742\u5730\u5f62\u4e2d\u6709\u591a\u4e2a\u78b0\u649e\u70b9\u65f6\uff0c\u8fd9\u79cd\u65b9\u6cd5\u6709\u53ef\u80fd\u5931\u8d25\uff0c\u5c06OnCollisionEnter\u6539\u4e3aOnCollisionStay\u53ef\u4ee5\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\uff0c\u4f46\u4ecd\u7136\u65e0\u6cd5\u907f\u514d\u4e0a\u8ff0\u95ee\u9898\u3002\n  <\/p>\n<hr\/>\n<p style=\"margin-left:0;text-align:justify;\">\n   \u5c04\u7ebf\u68c0\u6d4b\u65b9\u6cd5\u5c06\u5f97\u5230\u66f4\u597d\u7684\u6548\u679c\uff0c\u8be5\u65b9\u6cd5\u8c03\u7528\u5c04\u7ebf\u68c0\u6d4b\u63a5\u53e3\uff08<br \/>\n   <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/Physics.Raycast.html\" rel=\"nofollow\" title=\"Unity - Scripting API: Physics.Raycast (unity3d.com)\"><br \/>\n    Unity &#8211; Scripting API: Physics.Raycast (unity3d.com)<br \/>\n   <\/a><br \/>\n   \uff09\uff0c\u4ece\u73a9\u5bb6\u7403\u4f53\u7684\u51e0\u4f55\u91cd\u5fc3\u7ad6\u76f4\u5411\u4e0b\u53d1\u9001\u4e00\u6761\u6709\u8ddd\u79bb\u7684\u5c04\u7ebf\uff0c\u5982\u679c\u5c04\u7ebf\u5728\u8be5\u8ddd\u79bb\u5185\u63a5\u89e6\u5230\u7269\u4f53\uff0c\u90a3\u4e48\u5c06\u8fd4\u56detrue\uff0c\u5426\u5219\u5c06\u8fd4\u56defalse\uff0c\u5728\u56fe\u4e2d\u7528\u7ad6\u76f4\u7ebf\u6761\u8868\u793a\uff0c\u8fd9\u6837\u7684\u597d\u5904\u65f6\u53ef\u4ee5\u5c06\u5c04\u7ebf\u8d85\u51fa\u7403\u4f53\u534a\u5f84\u4e00\u5b9a\u8ddd\u79bb\uff08jumpThreshold\uff09\uff0c\u4ece\u800c\u8ba9\u73a9\u5bb6\u80fd\u591f\u5728\u7403\u4f53\u5c0f\u5e45\u98a0\u7c38\u65f6\u4e5f\u80fd\u591f\u987a\u5229\u8d77\u8df3\uff0c\u800c\u4e14\u8fd9\u4e2a\u65b9\u6cd5\u4e00\u822c\u4e0d\u4f1a\u51fa\u73b0\u610f\u60f3\u4e0d\u5230\u7684bug\u3002\n  <\/p>\n<p style=\"margin-left:0;text-align:justify;\">\n<\/p>\n<pre><code class=\"language-cs\"> public bool onTheGround()\n    {\n        Ray checkGround = new Ray(transform.position, Vector3.down);\n        RaycastHit hit;\n        Color rayColor;\n        if (Physics.Raycast(checkGround, out hit, jumpThreshold))\n        {\n            Grounded = true;\n            rayColor = Color.green;\n            \/\/Debug.Log(\"i'm grounded\");\n        }\n        else\n        {\n            Grounded = false;\n            rayColor = Color.red;\n            \/\/Debug.Log(\"not grounded\");\n        }\n        Debug.DrawRay(transform.position, Vector3.down, rayColor, jumpThreshold);\n\n        return Grounded;\n    }<\/code><\/pre>\n<p style=\"margin-left:0;text-align:justify;\">\n   \u4f46\u662f\u8be5\u65b9\u6cd5\u5374\u53c8\u6709\u53e6\u5916\u4e00\u4e2a\u95ee\u9898\uff0c\u5f53\u73a9\u5bb6\u5728\u7269\u4f53\u8fb9\u7f18\u8d77\u8df3\u65f6\uff0c\u867d\u7136\u7403\u4f53\u662f\u63a5\u89e6\u5730\u9762\u7684\uff0c\u4f46\u662f\u7531\u4e8e\u5c04\u7ebf\u4ece\u7403\u4f53\u4e2d\u5fc3\u53d1\u5c04\u51fa\u6765\uff0c\u6240\u4ee5\u65e0\u6cd5\u7ad6\u76f4\u6295\u5f71\u5230\u5730\u9762\u4e0a\uff0c\u5982\u56fe1-1 Case4\u6240\u793a\uff0c\u8fd9\u5bfc\u81f4\u73a9\u5bb6\u5728\u5730\u5f62\u7684\u8fb9\u7f18\u6216\u8005\u6709\u7f1d\u9699\u7684\u60c5\u51b5\u4e0b\u65e0\u6cd5\u8d77\u8df3\u3002\n  <\/p>\n<div class=\"img-center\">\n<figure class=\"image\">\n   <\/figure>\n<\/p><\/div>\n<hr\/>\n<p style=\"margin-left:0;text-align:justify;\">\n   \u6240\u4ee5\u6700\u7ec8\uff0c\u6211\u9009\u62e9\u4e86\u5c06\u4ee5\u4e0a\u4e24\u79cd\u65b9\u6848\u7ed3\u5408\u8d77\u6765\u4e00\u8d77\u5224\u65ad\u3002\u9996\u5148\u5148\u7528\u5c04\u7ebf\u68c0\u6d4b\uff0c\u5982\u679c\u5c04\u7ebf\u68c0\u6d4b\u8fd4\u56detrue\uff0c \u90a3\u4e48\u6b64\u65f6\u7403\u4f53\u4e0b\u65b9\u4e00\u5b9a\u8e29\u7740\u4e00\u4e2a\u7269\u4f53\uff1b\u5f53\u5c04\u7ebf\u68c0\u6d4b\u8fd4\u56defalse\u65f6\uff0c\u518d\u7528\u78b0\u649e\u68c0\u6d4b\u5224\u65ad\uff0c\u8fd9\u5c06\u5f25\u8865\u5c04\u7ebf\u68c0\u6d4b\u5ffd\u7565\u7684\u5730\u65b9\u3002\u8fd9\u6837\u4e00\u6765\u53ea\u8981\u6709\u4e00\u4e2a\u65b9\u6cd5\u8fd4\u56detrue\uff0c\u90a3\u4e48\u7403\u4f53\u5c31\u4e00\u5b9a\u63a5\u89e6\u5730\u9762\uff0c\u53cd\u4e4b\u5982\u679c\u4e8c\u8005\u90fd\u4e3afalse\uff0c\u90a3\u4e48\u5c31\u4e00\u5b9a\u65e0\u6cd5\u8d77\u8df3\uff1a\n  <\/p>\n<pre><code class=\"language-cs\">   void OnCollisionStay(Collision col)\n    {\n        OnCollisionGrounded = true;\n    }\n    void OnCollisionExit(Collision col)\n    {\n        OnCollisionGrounded = false;\n    }\n \npublic bool onTheGround()\/\/a combination of touch and raycast\n    {\n        bool isRayGrounded = Physics.Raycast(transform.position, Vector3.down, jumpThreshold);\n        Color rayColor;\n        if (isRayGrounded ||( !isRayGrounded &amp;&amp; OnCollisionGrounded))\n        {\n            combinedGrounded = true;\n            rayColor = Color.green;\n            \/\/Debug.Log(\"i'm grounded\");\n        }\n        else\n        {\n            combinedGrounded = false;\n            rayColor = Color.red;\n            \/\/Debug.Log(\"not grounded\");\n        }\n        Debug.DrawRay(transform.position, Vector3.down, rayColor, jumpThreshold);\n\n        return combinedGrounded;\n    }<\/code><\/pre>\n<p style=\"margin-left:0;text-align:justify;\">\n   \u4f46\u662f\u8be5\u65b9\u6cd5\u4f9d\u7136\u6709\u95ee\u9898\uff0c\u5f53\u73a9\u5bb6\u9047\u5230\u7ad6\u76f4\u7684\u5730\u5f62\u548c\u6811\u6728\u65f6\uff0c\u78b0\u649e\u68c0\u6d4b\u5c06\u8fd4\u56detrue\uff0c\u6b64\u65f6\u73a9\u5bb6\u5c31\u53ef\u4ee5\u4e0d\u65ad\u8df3\u8dc3\uff0c\u6765\u8fbe\u5230\u8e6c\u5899\u8df3\u6216\u8005\u722c\u6811\u7684\u76ee\u7684\uff0c\u5982\u56fe1-1 Case3\u3002\n  <\/p>\n<div class=\"img-center\">\n<figure class=\"image\">\n   <\/figure>\n<\/p><\/div>\n<p style=\"margin-left:0;text-align:justify;\">\n   \u89e3\u51b3\u65b9\u6cd5\u662f\u7ed9\u73a9\u5bb6\u7684\u8df3\u8dc3\u589e\u52a0\u51b7\u5374\u65f6\u95f4\uff0c\u8fd9\u6837\u73a9\u5bb6\u6bcf\u6b21\u8df3\u8dc3\u540e\u5c06\u7b49\u5f85\u4e00\u6bb5\u65f6\u95f4\u540e\u624d\u80fd\u518d\u6b21\u8df3\u8dc3\u3002\n  <\/p>\n<\/p>\n<pre><code class=\"language-cs\">    void JumpMethod()\n    {\n\n        if (JumpTime &gt;= JumpcoolingTime)\n        {\n            JumpCommand();\/\/allow the user to jump\n            return;\n        }\n        JumpTime += Time.deltaTime;\n        \/\/fill the jump loading bar for user to see:\n        fillValue = JumpTime \/ JumpcoolingTime;\n        jumpPanel.fillAmount = fillValue;\n    }\n    void JumpCommand()\n    {\n        if (Input.GetKeyDown(KeyCode.Space))\n        {\n            if (!onTheGround()) { return; } \/\/\u5f53\u73a9\u5bb6\u6309\u4e0b\u8df3\u8dc3\u952e\u518d\u68c0\u6d4b\uff0c\u8fd9\u6837\u7701\u6389\u591a\u4f59\u7684\u68c0\u6d4b\u548c\u8d1f\u62c5\n  \n            rg.AddForce(Vector3.up * jumpForce);\n            JumpTime = 0;\n\n            if (roomManager.isTrainingGround &amp;&amp; keepSetting.showTutorial)\n            {\n                if (guidanceText.Goal == 3) { guidanceText.jumpRushMission += 1; }\n            }\n        }\n    }<\/code><\/pre>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u822c\u6765\u8bf4\uff0c\u53ea\u6709\u63a5\u5730\u7684\u89d2\u8272\u624d\u80fd\u8df3\u8d77\u6765\uff0c\u5426\u5219\u73a9\u5bb6\u53ef\u4ee5\u4e00\u76f4\u9694\u7a7a\u8df3\u76f4\u5230\u98de\u51fa\u5730\u56fe\u3002\u6240\u4ee5\u8fd9\u5c06\u6d89\u53ca\u5230\u5982\u4f55\u786e\u5b9a\u4ec0\u4e48\u65f6\u5019\u4eba\u7269\u5728\u5730 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":215,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-842","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-25"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-\u4e4b\u8df3\u8dc3\u5224\u65ad\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u822c\u6765\u8bf4\uff0c\u53ea\u6709\u63a5\u5730\u7684\u89d2\u8272\u624d\u80fd\u8df3\u8d77\u6765\uff0c\u5426\u5219\u73a9\u5bb6\u53ef\u4ee5\u4e00\u76f4\u9694\u7a7a\u8df3\u76f4\u5230\u98de\u51fa\u5730\u56fe\u3002\u6240\u4ee5\u8fd9\u5c06\u6d89\u53ca\u5230\u5982\u4f55\u786e\u5b9a\u4ec0\u4e48\u65f6\u5019\u4eba\u7269\u5728\u5730 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-\u4e4b\u8df3\u8dc3\u5224\u65ad\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-17T16:00:14+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"260\" \/>\n\t<meta property=\"og:image:height\" content=\"180\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin@wunen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin@wunen\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/\"},\"author\":{\"name\":\"admin@wunen\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\"},\"headline\":\"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad\",\"datePublished\":\"2025-04-17T16:00:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/\"},\"wordCount\":41,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"articleSection\":[\"\u52a8\u4f5c\u5192\u9669\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/\",\"url\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/\",\"name\":\"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"datePublished\":\"2025-04-17T16:00:14+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#primaryimage\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"width\":260,\"height\":180},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/www.wunen.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.wunen.com\/#website\",\"url\":\"http:\/\/www.wunen.com\/\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"description\":\"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9\",\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.wunen.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/www.wunen.com\/#organization\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"url\":\"http:\/\/www.wunen.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"width\":1024,\"height\":1024,\"caption\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\",\"name\":\"admin@wunen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"caption\":\"admin@wunen\"},\"sameAs\":[\"http:\/\/www.wunen.com\"],\"url\":\"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-\u4e4b\u8df3\u8dc3\u5224\u65ad\/","og_locale":"zh_CN","og_type":"article","og_title":"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","og_description":"\u4e00\u822c\u6765\u8bf4\uff0c\u53ea\u6709\u63a5\u5730\u7684\u89d2\u8272\u624d\u80fd\u8df3\u8d77\u6765\uff0c\u5426\u5219\u73a9\u5bb6\u53ef\u4ee5\u4e00\u76f4\u9694\u7a7a\u8df3\u76f4\u5230\u98de\u51fa\u5730\u56fe\u3002\u6240\u4ee5\u8fd9\u5c06\u6d89\u53ca\u5230\u5982\u4f55\u786e\u5b9a\u4ec0\u4e48\u65f6\u5019\u4eba\u7269\u5728\u5730 [&hellip;]","og_url":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-\u4e4b\u8df3\u8dc3\u5224\u65ad\/","og_site_name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","article_published_time":"2025-04-17T16:00:14+00:00","og_image":[{"width":260,"height":180,"url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","type":"image\/jpeg"}],"author":"admin@wunen","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin@wunen","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#article","isPartOf":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/"},"author":{"name":"admin@wunen","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8"},"headline":"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad","datePublished":"2025-04-17T16:00:14+00:00","mainEntityOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/"},"wordCount":41,"commentCount":0,"publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","articleSection":["\u52a8\u4f5c\u5192\u9669"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/","url":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/","name":"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","isPartOf":{"@id":"http:\/\/www.wunen.com\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#primaryimage"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","datePublished":"2025-04-17T16:00:14+00:00","breadcrumb":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#primaryimage","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","width":260,"height":180},{"@type":"BreadcrumbList","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/18\/unity3d-%e4%b9%8b%e8%b7%b3%e8%b7%83%e5%88%a4%e6%96%ad\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/www.wunen.com\/"},{"@type":"ListItem","position":2,"name":"Unity3D \u4e4b\u8df3\u8dc3\u5224\u65ad"}]},{"@type":"WebSite","@id":"http:\/\/www.wunen.com\/#website","url":"http:\/\/www.wunen.com\/","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","description":"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9","publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.wunen.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"http:\/\/www.wunen.com\/#organization","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","url":"http:\/\/www.wunen.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","width":1024,"height":1024,"caption":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51"},"image":{"@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8","name":"admin@wunen","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","caption":"admin@wunen"},"sameAs":["http:\/\/www.wunen.com"],"url":"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/"}]}},"_links":{"self":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/comments?post=842"}],"version-history":[{"count":0,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/842\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media\/215"}],"wp:attachment":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media?parent=842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/categories?post=842"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/tags?post=842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}