Description
The Resources
property of the ProjectConfig
class provides a list of paths where additional assets can be found for inclusion with the addon. This property is particularly useful for specifying extra resources that are not automatically compiled and included in the addon package. It is important to note that compiled asset files are automatically included, so this property is primarily for non-compiled assets.
Usage
To use the Resources
property, you can get or set the list of paths as a string. This allows you to specify additional directories or files that should be considered when packaging your addon.
Example
// Example of setting the Resources property
var projectConfig = new ProjectConfig();
projectConfig.Resources = "/path/to/extra/assets";
// Example of getting the Resources property
string resourcesPath = projectConfig.Resources;
// Use resourcesPath as needed