How to access UPaper2DSprite and UPaper2DComponent classes from Visual Studio in my UE4 project?
как блять!?
Hello, Volchonok
To access Paper Sprite, Paper Flipbook and other Paper2D classes please go to Plugins/2D/Paper2D/Classes.
Also, please don’t forget that in order to use Paper2D, appropriate module should be added to Build.cs file of your project (YourProject/Source/YourProject/YourProject.Build.cs):
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Paper2D" });
If you like to learn more about Paper 2D Components, please go here:
Hope this helped!
Good luck!
Please note, that if IntelliSense is enabled in Visual Studio, there is a possibility of false-positive errors of this kind. However, you should be able to compile your project successfully.
If you like to learn more about setting up Visual Studio 2013 for UE4, please go here:
not successfully!!!
Please make sure thay you’ve added the header file:
#include "PaperSprite.h"
i am added NMake paths in properties of project and PAPER2D_API manually in MyProject.vcxproj . and problem is dissapear
In your xxx.Build.cs, you need to add Paper2D as a dependency.
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Paper2D" });