但是报错:
错误 Blueprint Runtime Error: Accessed None trying to read property NewVar_0 from function: 'ExecuteUbergraph_Minimal_Default' from node: F Distance in graph: EventGraph in object: Minimal_Default with description: Accessed None trying to read property NewVar_0
更新:
我看了官方文档 Direct Blueprint Communication is the most common method of Blueprint Communication and is great for when you have two Blueprints that you know you want to have talk to each other at some point. This type of communication is always one-to-one; meaning one Blueprint (the "Working Blueprint") is requesting to access another Blueprint (the "Target Blueprint"). The simplest way to use Direct Blueprint Communication is to get a reference to the Target Blueprint through a publicly exposed object Variable and then specify which instance of that Blueprint you want to access. 红字说要要有一个实例。。。但这个不能赋值 https://docs.unrealengine.com/la ... rintComs/index.html