string Resources { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Resources property of the ProjectConfig class provides a list of paths where additional assets can be located 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 any compiled asset files are automatically included, so this property is primarily for non-compiled assets or additional files that need to be bundled with the addon.

Usage

To use the Resources property, you can simply get or set the list of paths as a string. This property is typically used when configuring the project settings for an addon, allowing you to specify additional directories or files that should be included when the addon is packaged.

Example

// Example of setting the Resources property
var projectConfig = new ProjectConfig();
projectConfig.Resources = "assets/textures;assets/models";

// Accessing the Resources property
string resourcePaths = projectConfig.Resources;
// Output: "assets/textures;assets/models"