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

BlueprintReadWrite must be public members, otherwise compilation will fail.

From

Cover of Unreal Engine 4 Scripting with C++ Cookbook

Note

能被蓝图修改的变量必须是public