IGEditorUtils.

FindAssetGuidsOfType(Type) Method

Summary

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

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

Syntax

public static string[] FindAssetGuidsOfType(Type type)

Parameters

Name Type Description
type Type

Return Value

Type Description
string[]