Asking for a licensee
I have a plugin that needs to copy some data files into the final build for our game. For instance, say we have a Data directory that contains a set .dat files. How do we get those copied as part of the build step?
Asking for a licensee
I have a plugin that needs to copy some data files into the final build for our game. For instance, say we have a Data directory that contains a set .dat files. How do we get those copied as part of the build step?
You can do this by adding a runtime dependency in your *.Build.cs. Here’s some code to copy the Data directory
RuntimeDependencies.Add(new RuntimeDependency("$(ProjectDir)/Plugins/SamplePlugin/Data/..."));