O'Reilly logo
  • LI WEI thinks this is interesting:

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = NPCMessage) FString NpcMessage;

From

Cover of Learning C++ by Creating Games with UE4

Note

这样npc信息便可以在蓝图中修改