List<string> GetUnrecognizedReferencePaths()

book_4_sparkGenerated
code_blocksInput

Description

The GetUnrecognizedReferencePaths method retrieves a list of file paths that are referenced by the asset but could not be resolved into recognized asset types. This can be useful for identifying missing or incorrectly referenced files within your project.

Usage

Call this method on an instance of the Editor.Asset class to obtain a list of unrecognized reference paths. This method does not take any parameters and returns a list of strings, each representing a file path that could not be resolved.

Example

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

foreach (string path in unrecognizedPaths)
{
    // Handle each unrecognized path
    Console.WriteLine($"Unrecognized path: {path}");
}