{"id":23330,"date":"2026-06-10T14:25:51","date_gmt":"2026-06-10T06:25:51","guid":{"rendered":"https:\/\/ab123.xyz\/?p=23330"},"modified":"2026-06-10T14:25:51","modified_gmt":"2026-06-10T06:25:51","slug":"unity-ml-agents-%e5%bc%ba%e5%8c%96%e5%ad%a6%e4%b9%a0%ef%bc%9a%e9%9d%a9%e6%96%b0%e6%b8%b8%e6%88%8fnpc%e8%a1%8c%e4%b8%ba%e8%ae%be%e8%ae%a1%e7%9a%84%e6%99%ba%e8%83%bd%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/ab123.xyz\/?p=23330","title":{"rendered":"Unity ML-Agents \u5f3a\u5316\u5b66\u4e60\uff1a\u9769\u65b0\u6e38\u620fNPC\u884c\u4e3a\u8bbe\u8ba1\u7684\u667a\u80fd\u5de5\u5177"},"content":{"rendered":"<p>\u5728\u6e38\u620f\u5f00\u53d1\u9886\u57df\uff0c\u6253\u9020\u5177\u5907\u771f\u5b9e\u667a\u80fd\u7684\u975e\u73a9\u5bb6\u89d2\u8272\uff08NPC\uff09\u662f\u63d0\u5347\u6c89\u6d78\u611f\u7684\u6838\u5fc3\u6311\u6218\u4e4b\u4e00\u3002Unity ML-Agents \u4f5c\u4e3a\u4e00\u6b3e\u5f00\u6e90\u5f3a\u5316\u5b66\u4e60\u6846\u67b6\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u5728 Unity \u5f15\u64ce\u4e2d\u8bad\u7ec3\u667a\u80fd\u4f53\u3001\u751f\u6210\u81ea\u9002\u5e94 NPC \u884c\u4e3a\u7684\u9ad8\u6548\u89e3\u51b3\u65b9\u6848\u3002\u901a\u8fc7\u8be5\u5de5\u5177\uff0c\u5f00\u53d1\u8005\u65e0\u9700\u7f16\u5199\u590d\u6742\u7684\u89c4\u5219\u811a\u672c\uff0c\u5373\u53ef\u8ba9 NPC \u901a\u8fc7\u4e0e\u73af\u5883\u4ea4\u4e92\u81ea\u4e3b\u5b66\u4f1a\u51b3\u7b56\u3002<\/p>\n<p>\u5b98\u65b9\u5de5\u5177\u5730\u5740\uff1a<a href=\"https:\/\/unity.com\/products\/machine-learning-agents\" target=\"_blank\">Unity ML-Agents \u5b98\u65b9\u7f51\u7ad9<\/a><\/p>\n<h2>\u6838\u5fc3\u529f\u80fd\u4e0e\u4f18\u52bf<\/h2>\n<p>Unity ML-Agents \u96c6\u6210\u4e86\u5f3a\u5316\u5b66\u4e60\u3001\u6a21\u4eff\u5b66\u4e60\u548c\u795e\u7ecf\u7f51\u7edc\u53ef\u89c6\u5316\u7b49\u5173\u952e\u80fd\u529b\u3002\u5176\u6838\u5fc3\u529f\u80fd\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u591a\u667a\u80fd\u4f53\u8bad\u7ec3\uff1a\u652f\u6301\u540c\u65f6\u8bad\u7ec3\u591a\u4e2a\u667a\u80fd\u4f53\uff0c\u6a21\u62df\u7fa4\u4f53\u884c\u4e3a\u5982\u5de1\u903b\u3001\u5408\u4f5c\u6216\u5bf9\u6297\u3002<\/li>\n<li>\u7075\u6d3b\u7684\u5956\u52b1\u673a\u5236\uff1a\u5f00\u53d1\u8005\u53ef\u81ea\u5b9a\u4e49\u5956\u52b1\u51fd\u6570\uff0c\u5f15\u5bfcNPC\u5b66\u4e60\u7279\u5b9a\u6280\u80fd\u5982\u8eb2\u907f\u969c\u788d\u3001\u8d44\u6e90\u6536\u96c6\u7b49\u3002<\/li>\n<li>\u5b9e\u65f6\u6027\u80fd\u76d1\u63a7\uff1a\u901a\u8fc7 TensorBoard \u96c6\u6210\u5c55\u793a\u8bad\u7ec3\u66f2\u7ebf\u3001\u5956\u52b1\u53d8\u5316\u7b49\u5173\u952e\u6307\u6807\u3002<\/li>\n<li>\u8de8\u5e73\u53f0\u90e8\u7f72\uff1a\u8bad\u7ec3\u597d\u7684\u6a21\u578b\u53ef\u76f4\u63a5\u90e8\u7f72\u5230\u6e38\u620f\u9879\u76ee\u4e2d\uff0c\u652f\u6301 Windows\u3001iOS\u3001Android \u7b49\u4e3b\u6d41\u5e73\u53f0\u3002<\/li>\n<\/ul>\n<h2>\u5178\u578b\u5e94\u7528\u573a\u666f<\/h2>\n<h3>1. \u5f00\u653e\u4e16\u754c\u89d2\u8272\u4e92\u52a8<\/h3>\n<p>\u5728\u300a\u8352\u91ce\u5927\u9556\u5ba2\u300b\u6216\u300a\u4e0a\u53e4\u5377\u8f74\u300b\u7c7b\u6e38\u620f\u4e2d\uff0cNPC \u9700\u8981\u6839\u636e\u73a9\u5bb6\u884c\u4e3a\u52a8\u6001\u8c03\u6574\u6001\u5ea6\u3002ML-Agents \u53ef\u8bad\u7ec3\u51fa\u5177\u5907\u8bb0\u5fc6\u4e0e\u60c5\u7eea\u6a21\u578b\u7684\u667a\u80fd\u4f53\uff0c\u5b9e\u73b0\u66f4\u6709\u6df1\u5ea6\u7684\u5bf9\u8bdd\u4e0e\u4efb\u52a1\u7cfb\u7edf\u3002<\/p>\n<h3>2. \u7ade\u6280\u6e38\u620fAI\u5bf9\u624b<\/h3>\n<p>\u5728\u683c\u6597\u3001\u8d5b\u8f66\u6216\u5c04\u51fb\u6e38\u620f\u4e2d\uff0c\u5229\u7528\u5f3a\u5316\u5b66\u4e60\u8bad\u7ec3AI\u5bf9\u624b\uff0c\u80fd\u751f\u6210\u903c\u8fd1\u4eba\u7c7b\u73a9\u5bb6\u6c34\u5e73\u7684\u7b56\u7565\uff0c\u63d0\u5347\u6e38\u620f\u6311\u6218\u6027\u3002\u4f8b\u5982 Unity \u5b98\u65b9\u6f14\u793a\u9879\u76ee\u201c\u9965\u997f\u7684\u5c0f\u7cbe\u7075\u201d\u5373\u5c55\u793a\u4e86AI\u5b66\u4e60\u6355\u98df\u8def\u5f84\u7684\u80fd\u529b\u3002<\/p>\n<h3>3. \u6a21\u62df\u4eff\u771f\u8bad\u7ec3<\/h3>\n<p>\u9664\u6e38\u620f\u5916\uff0c\u8be5\u5de5\u5177\u8fd8\u7528\u4e8e\u673a\u5668\u4eba\u4eff\u771f\u3001\u81ea\u52a8\u9a7e\u9a76\u6a21\u62df\u7b49\u5de5\u4e1a\u573a\u666f\uff0c\u901a\u8fc7\u865a\u62df\u73af\u5883\u8bad\u7ec3\u63a7\u5236\u7b56\u7565\u518d\u8fc1\u79fb\u81f3\u771f\u5b9e\u8bbe\u5907\u3002<\/p>\n<h2>\u5feb\u901f\u4e0a\u624b\u6307\u5357<\/h2>\n<p>\u4f7f\u7528 Unity ML-Agents \u7684\u57fa\u672c\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5 Unity ML-Agents Python \u5305\u548c Unity \u63d2\u4ef6\uff1b\u521b\u5efa\u573a\u666f\u5e76\u6dfb\u52a0 Agent \u811a\u672c\uff1b\u7f16\u5199 C# \u4ee3\u7801\u5b9a\u4e49\u89c2\u6d4b\u3001\u52a8\u4f5c\u4e0e\u5956\u52b1\u903b\u8f91\uff1b\u542f\u52a8\u8bad\u7ec3\u547d\u4ee4\uff1b\u5bfc\u51fa\u6a21\u578b\u6587\u4ef6\u5e76\u5e94\u7528\u4e8e\u6e38\u620f\u3002\u5b98\u65b9\u6587\u6863\u63d0\u4f9b\u4e86\u4ece\u96f6\u5230\u4e00\u7684\u5b8c\u6574\u6559\u7a0b\uff0c\u5f00\u53d1\u8005\u53ef\u6839\u636e\u9879\u76ee\u9700\u6c42\u8c03\u6574\u8d85\u53c2\u6570\u3002<\/p>\n<p>\u603b\u4e4b\uff0cUnity ML-Agents \u5c06\u6df1\u5ea6\u5f3a\u5316\u5b66\u4e60\u4e0e\u6e38\u620f\u5f00\u53d1\u65e0\u7f1d\u7ed3\u5408\uff0c\u4e0d\u4ec5\u964d\u4f4e\u4e86 AI \u7f16\u7a0b\u95e8\u69db\uff0c\u66f4\u8ba9 NPC \u884c\u4e3a\u4ece\u201c\u811a\u672c\u5316\u201d\u8d70\u5411\u201c\u667a\u80fd\u5316\u201d\uff0c\u662f\u672a\u6765\u4e92\u52a8\u4f53\u9a8c\u5347\u7ea7\u7684\u91cd\u8981\u9a71\u52a8\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6e38\u620f\u5f00\u53d1\u9886\u57df\uff0c\u6253\u9020\u5177\u5907\u771f\u5b9e\u667a\u80fd\u7684\u975e\u73a9\u5bb6\u89d2\u8272\uff08NPC\uff09\u662f\u63d0\u5347\u6c89\u6d78\u611f\u7684\u6838\u5fc3\u6311\u6218\u4e4b\u4e00\u3002Unity ML-Agent [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[15122,26283,26280,26282,26281],"class_list":["post-23330","post","type-post","status-publish","format-standard","hentry","category-4","tag-unity-ml-agents","tag-unity","tag-npc","tag-26282","tag-ai"],"_links":{"self":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts\/23330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23330"}],"version-history":[{"count":1,"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts\/23330\/revisions"}],"predecessor-version":[{"id":23332,"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts\/23330\/revisions\/23332"}],"wp:attachment":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}