how do you accessing more than one variable for blueprints using UPROPERTY?
I know how to access a single variable using
but what if i want to access more than 1. I don't want to repeat the same line of code 100 times.
asked Apr 23 '15 at 09:33 PM in C++ Programming
You will need to do it for every variable, currently there no way around it, UHT picks variables one by one based on those macros.
answered Apr 23 '15 at 09:47 PM
You will eventually need to expose the variables to the Blueprint, individually like that. If they are defined in another class you could expose the class and then need it once here.
I don't believe you can make blocks of definitions. That is something they could maybe add though, as a feature request.
answered Apr 23 '15 at 09:51 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here