{"id":5341,"date":"2023-11-08T08:32:52","date_gmt":"2023-11-08T00:32:52","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=5341"},"modified":"2023-11-09T08:16:46","modified_gmt":"2023-11-09T00:16:46","slug":"ue-bp-event-dispatchers%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=5341","title":{"rendered":"UE BP Event Dispatchers\u4e4b\u59d4\u6258"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u521b\u5efa&amp;\u89e6\u53d1-\u59d4\u6258<\/h2>\n\n\n\n<p><strong>\u6bcf\u4e2aBP\u4e2d\u7684\u4e8b\u4ef6\u540d\u90fd\u662f\u5168\u5c40\u552f\u4e00&amp;\u72ec\u7acb\u7684<\/strong><\/p>\n\n\n\n<p><strong>\u4e8b\u4ef6\u540d\u79f0\u5c3d\u91cf\u4e0d\u8981\u91cd\u540d,\u5efa\u8bae\u6dfb\u52a0\u524d\u7f00<\/strong><\/p>\n\n\n\n<p><em>\u5728UE\u7684BP\u4e2d\u521b\u5efa\u4e8b\u4ef6,\u7ed9\u4e00\u4e2a\u4e8b\u4ef6\u540d,\u8fd9\u4e2a\u4e8b\u4ef6\u540d\u53ef\u4ee5\u548c\u5176\u5b83BP\u4e2d\u7684\u4e8b\u4ef6\u540d\u91cd\u590d,\u4f8b\u5982\u6dfb\u52a02\u4e2aBP,\u6dfb\u52a0\u7684\u4e8b\u4ef6\u540d\u90fd\u53ebWhatTheFuck,\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u8fd9\u79cd\u60c5\u51b5<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"513\" height=\"513\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/11\/image-5.png\" alt=\"\" class=\"wp-image-5342\" srcset=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/11\/image-5.png 513w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/11\/image-5-150x150.png 150w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/11\/image-5-300x300.png 300w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/11\/image-5-50x50.png 50w\" sizes=\"(max-width: 513px) 100vw, 513px\" \/><\/figure>\n\n\n\n<p>\u5c06\u81ea\u5b9a\u4e49\u4e8b\u4ef6\u62d6\u5230EventGraph\u4e2d,\u9009\u62e9Call\u5c31\u53ef\u4ee5\u5206\u53d1\u4e86<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u76d1\u542c<\/h2>\n\n\n\n<p>\u76d1\u542c\u8005BP\u7684EventGraph\u4e2d:<\/p>\n\n\n\n<p>1.\u5728VARIABLES\u4e2d,\u521b\u5efa\u4e00\u4e2a\u53d8\u91cfVarX,\u7c7b\u578b\u8bbe\u7f6e\u4e3a&#8221;\u4e8b\u4ef6\u6e90BP\u7c7b\u578b&#8221;\u7684Object Reference,  \u628aActor\u62d6\u5230Scene\u4e2d, \u5728Detail\u9762\u677f\u4e2d\u7ed9\u53d8\u91cfVarX\u8d4b\u503c.  <\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><em> \u5982\u679c\u4e0d\u8d4b\u503c\u5219\u4f1a\u53d1\u751f Blueprint Runtime Error: &#8220;Accessed None trying to read property XXXXX&#8221;. Node XXXX Graph : EventGraph Function: XXX Execute;\u76f8\u5f53\u4e8e\u7a7a\u6307\u9488\u8bbf\u95ee. <\/em><\/p><\/blockquote>\n\n\n\n<p>2.\u5728EventGraph\u4e2d\u53f3\u952e\u7a7a\u767d\u533a,\u9009\u62e9 Bind Event to XXX, \u624b\u52a8\u7ed1\u5b9a\u6307\u5b9a\u7684\u4e8b\u4ef6; BineEvent\u7684Target &#8211; \u9009\u62e9\u6b64ObjectReference;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"634\" height=\"655\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/11\/image-6.png\" alt=\"\" class=\"wp-image-5353\" srcset=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/11\/image-6.png 634w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/11\/image-6-290x300.png 290w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2023\/11\/image-6-48x50.png 48w\" sizes=\"(max-width: 634px) 100vw, 634px\" \/><figcaption>\u5b98\u65b9\u6559\u7a0b\u793a\u610f\u56fe<\/figcaption><\/figure>\n\n\n\n<p>\u5bf9\u4e8e\u59d4\u6258\u6765\u8bf4, <strong>\u4e8b\u4ef6\u6e90\u5bf9\u8c61\u662f\u660e\u786e\u7684<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u521b\u5efa&amp;\u89e6\u53d1-\u59d4\u6258 \u6bcf\u4e2aBP\u4e2d\u7684\u4e8b\u4ef6\u540d\u90fd\u662f\u5168\u5c40\u552f\u4e00&amp;\u72ec\u7acb\u7684 \u4e8b\u4ef6\u540d\u79f0\u5c3d\u91cf\u4e0d\u8981\u91cd\u540d,\u5efa\u8bae\u6dfb\u52a0\u524d\u7f00  [&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\/5341"}],"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=5341"}],"version-history":[{"count":10,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5341\/revisions"}],"predecessor-version":[{"id":5354,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5341\/revisions\/5354"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}