变量UPROPERTY常用说明符
EditAnyWhere,VisibleAnywhere的区别
BlueprintReadWrite,BlueprintReadOnly的区别
EditAnyWhere和VisibleAnywhere
//可见可修改
UPROPERTY(EditAnywhere)
int a;
//可见不可修改
UPROPERTY(VisibleAnywhere)
int b;
把蓝图类拖进场景实例化后,该对象的细节面板里
BlueprintReadWrite和BlueprintReadOnly
//可读可写
UPROPERTY(BlueprintReadWrite)
int TestValue_c;
//可读不可写
UPROPERTY(BlueprintReadOnly)
int TestValue_d;