IGEditorUtils.

FindAssetOfType(Type, string) Method

Summary

Searches through all assets of the specified `type` and returns the one with a name closest to the `nameHint`.

Syntax

public static Object FindAssetOfType(Type type, string nameHint = null)

Parameters

Name Type Description
type Type
nameHint string

Return Value

Type Description
Object