title | layout | nav_order |
---|---|---|
Structs |
default |
4 |
Members in a Unreal Engine exposed struct through UStruct, needs to be a field. If not exposed, none of that applies.
[UStruct]
public struct FMyStruct
{
[UProperty(PropertyFlags.BlueprintReadOnly)]
public int MyInt;
[UProperty(PropertyFlags.BlueprintReadOnly)]
public float MyFloat;
[UProperty(PropertyFlags.BlueprintReadOnly)]
public string MyString;
[UProperty(PropertyFlags.BlueprintReadOnly)]
public bool MyBool;
[UProperty(PropertyFlags.BlueprintReadOnly)]
public UObject MyObject;
}