概要
UPROPERTY
的作用类似于Unity中C#的特性[SerializeField]
或者Godot中的export
属性说明符(Property Specifiers)
属性说明符 | 作用 | 说明 |
---|---|---|
VisibleAnywhere |
可见但不可编辑 | |
EditAnywhere |
可编辑 | |
BlueprintReadOnly |
在蓝图中只读 | |
BlueprintReadWrite |
在蓝图中可读写 | |
Transient |
临时属性,无法保存 | |
Category="TopCategory|SubCategory|..." |
指定在蓝图编辑工具中的显示的类别 |