Add header file only to declare structs

Hi!

I’m using Unreal 5.3.2.

I don’t know how to add a header only file. There is no way to do it from the Editor.

How can I do it?

Thanks!

In the solution explorer of your IDE right click the public folder of your source and add a new header file, edit it and recompile.

I do that I get a lot of errors:

For example:

And:

But it compiles without errors.

Thanks.

VS intellisense is slow and unreliable, you should only care about compiler errors.