I’m trying to construct a FStructOnScope
and it’s constructor looks like this
FStructOnScope(const UStruct* InScriptStruct)
I have a structure named Config in my class that I need to pass to this
Trying this FStructOnScope(&Config)
gives an error
'FStructOnScope::FStructOnScope(const FStructOnScope &)': cannot convert argument 1 from 'FDungeonConfig *' to 'const UStruct *'