Description
The ResourceCompiler
property specifies the name of the resource compiler to be used for processing the embedded resource. This property is part of the EmbeddedResource
structure within the Sandbox.Resources
namespace. It is a string value that identifies the specific compiler responsible for handling the resource.
Usage
To use the ResourceCompiler
property, you need to create an instance of the EmbeddedResource
struct and set the ResourceCompiler
property to the desired compiler name. This name will be used to determine which compiler should process the resource when it is embedded in a game resource or compiled to disk.
Example
// Example of setting the ResourceCompiler property
EmbeddedResource resource = new EmbeddedResource();
resource.ResourceCompiler = "MyCustomCompiler";
// Use the resource in your application
// The specified compiler will be used to process this resource