I’m getting the same error too. I’m trying to reduce redundancy in my code by passing the function as an argument
void UpdateMeshProperties(TFunction<void(ABowlMesh*, AVehicleCarpet*)> PropertySetter);
But it keeps saying
Error: Unable to find 'class', 'delegate', 'enum', or 'struct' with name 'TFunction'
and I have included #include "Templates/Function.h"
as well
I’m stuck and have no clue what to do… Should I just stick to redundant code?