{"id":6171,"date":"2025-10-06T22:37:28","date_gmt":"2025-10-06T14:37:28","guid":{"rendered":"https:\/\/blog.coolcoding.cn\/?p=6171"},"modified":"2025-10-14T21:55:40","modified_gmt":"2025-10-14T13:55:40","slug":"ue%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0-actor%e5%93%8d%e5%ba%94input","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=6171","title":{"rendered":"UE \u5b66\u4e60\u7b14\u8bb0-Actor\u54cd\u5e94Input"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u542f\u52a8InputEnable<\/h2>\n\n\n\n<p>\u6d3e\u751f\u81eaPawn\u6216\u8005PlayerController\uff0c\u662f\u53ef\u4ee5\u76f4\u63a5\u54cd\u5e94Input\u7684<\/p>\n\n\n\n<p>\u4f46\u662f\u5176\u5b83\u7684Actor\uff0c\u56e0\u4e3a\u672a\u5f00\u542fInputEnable\uff0c\u6240\u4ee5\u4e0d\u54cd\u5e94Input<\/p>\n\n\n\n<p>\u6253\u5f00\u65b9\u6cd5\uff1a\u5728EventBeginPlay\u4e4b\u540e\uff0c\u52a0\u4e00\u4e2aEnable Input\uff1b<\/p>\n\n\n\n<p>\u8f93\u5165\u7aefPlayerController\uff08\u53d6GetPlayerController\uff09\uff1b<\/p>\n\n\n\n<p>\u8fd9\u65f6\u5728\u6309\u952e\u6620\u5c04\u4e2d\u6dfb\u52a0\u4e00\u4e2aSpace\u6309\u952e\uff0c\u5c31\u53ef\u4ee5\u5728\u84dd\u56fe\u4e2d\u6dfb\u52a0Space\u6309\u94ae\u7684\u4e8b\u4ef6\u54cd\u5e94\u4e86<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u662f\u5426\u72ec\u5360\u8f93\u5165<\/h2>\n\n\n\n<p>\u5728\u6d88\u606f\u54cd\u5e94\u5668\u4e2d\uff0c\u67e5\u770b\u5c5e\u6027\uff0c\u6709\u4e2aConsume Input\uff08\u662f\u5426\u541e\u6389\u6d88\u606f\uff09<\/p>\n\n\n\n<p>Input Priority\u4e3a\u8f93\u5165\u4f18\u5148\u7ea7\uff0c\u4f4e\u7684\u5bf9\u8c61\u4e0d\u4f1a\u6536\u5230\u541e\u6389\u7684\u6d88\u606f<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"444\" height=\"115\" src=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/10\/image.png\" alt=\"\" class=\"wp-image-6182\" srcset=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/10\/image.png 444w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/10\/image-160x41.png 160w\" sizes=\"(max-width: 444px) 100vw, 444px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u542f\u52a8InputEnable \u6d3e\u751f\u81eaPawn\u6216\u8005PlayerController\uff0c\u662f\u53ef\u4ee5\u76f4\u63a5\u54cd\u5e94Input\u7684 \u4f46 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6171"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6171"}],"version-history":[{"count":12,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6171\/revisions"}],"predecessor-version":[{"id":6210,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6171\/revisions\/6210"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}