# LoadAll(string, Type)

> Override for customizing the behavior of the Resources.LoadAll function.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
protected virtual Object[] LoadAll(string path, Type systemTypeInstance)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Path to the target resource to load.**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): Type filter for objects returned.

### Returns

| Type                                                                | Description                                                                             |
| ------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [Object\[\]](/engine/6000.7/script-reference/unityengine/object.md) | An array of all the loaded objects at the specified path that match the specified type. |
