Blueprint Suggestion: Variables by Reference
When I have many things that share a base class, and I want to be able to reference them both as individual named items, and then do "generic" things to them, it would be quite helpful to be able to pass reference-to-variable to a Blueprint function.
For example, "create UI widget instance of class C, assign it to a member variable, attach it to the view" is a very common thing to do, but I can't really turn that into a function or macro, because I can't pass in "the member variable name to assign the created object to" as an argument. Reference-to-variable as a type would solve this.
asked Sep 05 '15 at 06:04 PM in Blueprint Scripting
I haven't tried it yet but you can mark function arguments as Pass-by-Reference. This is with UE 4.8.2, but I seriously doubt they removed this functionality in 4.9.
Is that what you're looking for, or do you mean something else?
answered Sep 06 '15 at 10:32 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here