Summary
Searches through all assets of the specified `type` and returns the one with a name closest to the
`nameHint`.
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static Object FindAssetOfType(Type type, string nameHint = null)
Parameters
Name | Type | Description |
---|---|---|
type | Type | |
nameHint | string |
Return Value
Type | Description |
---|---|
Object |