List<string> GetInputDependencies()

book_4_sparkGenerated
code_blocksInput

Description

The GetInputDependencies method retrieves a list of input dependencies for a given asset. This typically includes files that are necessary for the asset's creation or compilation, such as texture files (e.g., TGA files for textures).

Usage

To use the GetInputDependencies method, simply call it on an instance of the Editor.Asset class. It does not require any parameters and returns a list of strings, each representing a file path to an input dependency.

Example

// Example usage of GetInputDependencies
Editor.Asset myAsset = new Editor.Asset();
List<string> dependencies = myAsset.GetInputDependencies();

foreach (string dependency in dependencies)
{
    // Process each dependency
    // For example, log the dependency path
    // Log(dependency);
}