# ResourcePathsAttribute(string[], SearchType)

> Creates a new ResourcePathsAttribute for an array's elements by specifying each resource. Defaults to Project resource path location.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.Rendering](/engine/6000.6/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public ResourcePathsAttribute(string[] paths, SearchType location = SearchType.ProjectPath)
```

### Parameters

**** (\[string\[]]\(https\://learn.microsoft.com/dotnet/api/system.string)): Paths targetting the resources**** (\[SearchType]\(/engine/6000.6/script-reference/unityengine/rendering/searchtype)): The lookup method
