hi guys, i want to create a function that can get a dynamic array of any actors and use it. let me explain.
one case the function might be called for an array of pawn class and sometimes with the Inventory.
instead of creating the same function for
Array<Pawn> Array<Inventory> and so on. if its possible to do it for every actor object. some kind of casting or something else.
one case the function might be called for an array of pawn class and sometimes with the Inventory.
instead of creating the same function for
Array<Pawn> Array<Inventory> and so on. if its possible to do it for every actor object. some kind of casting or something else.
Comment