在UE5 编辑器开发中,有时会遇到在非运行时使用蓝图向关卡中 Actor 添加组件的需求。虽然蓝图中已经有了一个 AddComponentByClass 节点,但它是运行时的: 如果在诸如 EditorUtilityBlueprint 这类编辑器扩展中使用它,会出现意料之外的效果: 在EditorUtilityBlueprint 中使用了 AddComponentByClass 节点 虽然看上去正常...