AH! I didnt… I dont remember seeing this ANYWHERE in the docs lol
I googled and click through so many Unreal “welcome to niagara” stuff - but they all seemed BP related
Is there a bit I’m missing to see an example of a c++ version of this?
Is it normal, that my AdditionalDependencies only has “Engine” ? I see youve got Core, for example…
Also, how do I know when I need to add to this array?
Is this separate (or does it allow for more) #include xyz?
Is there an obvious part of the docs I can keep an eye out for?
Sorry last question.
VS compiles fine now.
But my “#include “NiagaraFunctionLibrary.h”” has a red squiggle under it with “cannot open source file”.
And when i write the codes:
Red squiggle under “UNiagaraFunctionLibrary” and saying “name followed by ‘::’ must be a class or namespace name”
I assume these are related, and not actually an issue, just my VScode being funky?
Anytime you are adding a new module or system to your, you’ll need to make sure it’s in there. But usually not very often.
I don’t really know any documentation, it was just something I figured out reading other people’s posts asking about linker errors. I think I was trying to get ProceduralMeshComponent working.
As long as it compiles, you’re fine. The red squiggles just mean that VSCode can’t find the header, but the actual compiler can just fine. If you use the Unreal command to regenerate the project files, it might go away after Unreal includes the appropriate header paths in the project.