Hi Everyone,
Just a quick question about trying to include Paper2D in UE5.
I found This Post explaining how to add the Paper2D Module to UE for use in C++ code, and it seems like simply adding an #include “PaperSprite.h” is not enough (I get “: fatal error C1083: Cannot open include file: ‘PaperSprite.h’: No such file or directory” when I try).
However, when I was searching for the Build.cs file in the SolutionExplorer, I noticed that Paper2D appears as a Plugin already.
My question is, do I still need to include the module as the other forum post explains in UE5 or has it changed since then? I can’t seem to find any mention of it in the official docs so I just thought I would get clarification for it.
Normally I would just deal with sprites in Blueprints but I am making an inventory system and want to have a reference to a Sprite stored in a C++ var, so maybe importing the whole Paper2D module is overkill for what I am trying to do.
Thanks.