Summary
Returns the paths of all assets of the specified `type`.
The result is cached for efficiency and can be cleared by
Weaver.Editor.WeaverEditorUtilities.ClearAssetPathCache.
If the `type` is a UnityEngine.Component, this method returns the paths of all prefabs so they will need
to be checked for that component individually.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor - Containing Type
- Weaver
Editor Utilities
Syntax
public static string[] FindAllAssetPaths(Type type)
Parameters
| Name | Type | Description |
|---|---|---|
| type | Type |
Return Value
| Type | Description |
|---|---|
| string[] |