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, which represents a JSON definition of an embedded resource in the Sandbox environment.
Usage
Use the ResourceCompiler
property to define or retrieve the name of the compiler that will be used to process the embedded resource. This is particularly useful when you need to specify a custom compiler for a resource embedded within a GameResource
or when dealing with standalone resources.
Example
// Example of setting the ResourceCompiler property
EmbeddedResource resource = new EmbeddedResource();
resource.ResourceCompiler = "CustomCompiler";
// Accessing the ResourceCompiler property
string compilerName = resource.ResourceCompiler;
// Use compilerName as needed