WeaverEditorUtilities.

FindAsset<T>(string) Method

Summary

Returns an asset of the specified type from anywhere in the project. Checks the `assetPathHint` before searching the rest of the project.
Assembly
Weaver.dll
Namespace
Weaver.Editor
Containing Type
WeaverEditorUtilities

Syntax

public static T FindAsset<T>(string assetPathHint) where T : Object

Type Parameters

Name Description
T

Parameters

Name Type Description
assetPathHint string

Return Value

Type Description
T