IGEditorUtils.

FindAssetGuidsOfType(Type) Method

Summary

Calls AssetDatabase.FindAssets(string, string[]) using the specified `type` as the filter.

If the `type` inherits from Component then it will instead use GameObject as the filter to find all Prefabs (since Unity won't find Component types directly).

Syntax

public static string[] FindAssetGuidsOfType(Type type)

Parameters

Name Type Description
type Type

Return Value

Type Description
string[]