Casting seems to work, but, at the same time, it’s not really allowing me to do much, since I can’t even do something like this (class type to be cast to can’t be a variable’s value, at least not an FName type one):
Cast<[name of class as a variable]>([class pointer variable]);
Would you be able to show me an example of how interface could be used for this? I’m having hard time understanding how this could be useful, or what interfaces are supposed to do exactly.