To clarify what I mean: I want something like the “select” node, or Java Generics, or C++ Templates. Specifically, I want to create a UMG widget that can store a number of variables of a given type - maybe int, float, string, an enum - and select between them. This means (probably, I mean it’s how I’d do it in Java or C++) it has to accept an array of a generic type, and an instance of it stores and returns based on the type it was given.
Can I do this in Blueprint? (Meaning, I’m not defining new nodes in C++, I’m just using BP). In practice I only need widgets for an int and a few enum types but that’s still a lot of duplicating code I’d rather avoid.