class
ReferenceSearchAPI
public static class ReferenceSearchAPI Public static API for programmatic reference searches. Useful for custom editor scripts and CI/CD integration.
Properties
IsCacheBuilt public static bool IsCacheBuilt { get; } Whether the asset map cache has been built.
CachedAssetCount public static int CachedAssetCount { get; } Number of assets in the cache.
Methods
FindReferencesTo public static ReferenceSearchResult FindReferencesTo(string assetPath) Find all assets that reference the given asset. Builds cache synchronously on first call if needed.
FindDependenciesOf public static ReferenceSearchResult FindDependenciesOf(string assetPath) Find all assets that the given asset depends on. Builds cache synchronously on first call if needed.
RebuildCache public static void RebuildCache() Force a synchronous rebuild of the cache.
Generated from Editor/Features/References/Application/ReferenceSearchAPI.cs in RefSafe Pro 2.2.0.