Hello!
In 18 Unrial Engine update all Destructible’s files were moved to plugin:
…\Epic Games\UE_4.18\Engine\Plugins\Runtime\ApexDestruction\Source\ApexDestruction\Public\DestructibleMesh.h and etc
And now I can’t include it to my plugin. I try to add this to Build.cs:
PublicDependencyModuleNames.AddRange(new string] { "ApexDestruction" });
PublicIncludePathModuleNames.AddRange(new string] { "ApexDestruction" });
PrivateIncludePaths.AddRange(new string] { "ApexDestruction/Public", "ApexDestruction/Classes", "ApexDestruction/Private" });
PublicIncludePaths.AddRange(new string] { "ApexDestruction/Public", "ApexDestruction/Classes", "ApexDestruction/Private" });
And it to .uplugin:
"AdditionalDependencies":
"Engine",
"ApexDestruction"
]
But after this I have error again. I included these files, and you can see, what they are underlined in red:
But the compilation was successful…And when the project was loaded I got an error:
Please help