I’m wondering- how can I declare UFUNCTIONs using macros?
I write a piece of code that works fine just fine, but putting it in a macro breaks it.
I must be missing something- it always hides the function declared immediately after it and putting it at the end reveals an error:
This is not supported, UFUNCTION and other alike macros are not real macros.
They are parsed by the UnrealHeaderTool which runs as a pre-compile step before preprocessor & compiler.