Unions and TUnion

Oooooh

:slight_smile:

You can’t make unions UPROPERTY() (at the moment)

You can always write a Static Blueprint Library to access your union data in whatever way you want, from any blueprint

like GetUnionAsFloat(ItemValue Value ) or GetUnionAsInt32(ItemValue Value)

You’ll have to declare your union in a header that you can include in your blueprint library class, or have your Blueprint Library class dependson AItem

Wiki Tutorial on Blueprint Libraries

Rama