Hello,
I want to use an UPaperSpriteComponent, but the API documentation does not show an include path at the bottom.
So what do I have to do to be able to use an UPaperSpriteComponent?
Hello,
I want to use an UPaperSpriteComponent, but the API documentation does not show an include path at the bottom.
So what do I have to do to be able to use an UPaperSpriteComponent?
You need to include:
<Project>.Build.cs:
PublicDependencyModuleNames.AddRange(new string] { "Paper2D" });
*.cpp, *.h:
#include "PaperSpriteComponent.h"
For starters you can go to the officals docs here: Unreal Engine API Reference | Unreal Engine Documentation inside the search bar you can put any public class it will give you the module and the full path.
Of course you can use visual studio, it is a shame I cannot tell ya how to do it with the normal visual studio tools because I don’t use those anymore Lol :p, but with visual assist you can alt+g over a declaration and it will take you to the file, or shift + alt + q, it will give you options to import the header.
Anyway I am pretty sure you can do that with raw VS but incredibly slow, main reason I forgot LOL
Cheers