Properly casting structs
I'm trying to cast my child struct to my base struct, but without any luck.
I declared this child struct, which inherits from my base struct.
Then I tried to add a FItemWeaponInfo struct to an array of FItemBaseInfo(the variable called Inventory).
But I can't seem to get it to work, I tried casting, but I couldn't make that work either.
asked May 08 '16 at 09:52 PM in C++ Programming
I have tried to reproduce your problem and i don't have any problem when i add my FItemWeaponInfo to my array of ItemWeaponInfo.
answered May 09 '16 at 12:01 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here