Download

WITH_EDITOR versus WITH_EDITORONLY_DATA - When to use what

Hi,

I’m a bit lost with those 2 preprocessors.
When should I use what?
What is the purpose of those 2 preprocessors?

Thanks,

1 Like

Little bump…

WITH_EDITORONLY_DATA in headers for wrapping reflected members. WITH_EDITOR in CPP files for code… Has nothing to do with reflection.

1 Like

Why unreal header tool not viewing WITH_EDITOR the same as WITH_EDITORONLY_DATA?
That’s not fair!:smirk:

Could you explain more on that?