Method Locate
Locate(object, Type, out IList<IResourceLocation>)
Locate all of the locations that match the given key.
선언
public bool Locate(object key, Type type, out IList<IResourceLocation> locations)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| object | key | The key used to locate the locations. |
| Type | type | The resource type. |
| IList<IResourceLocation> | locations | The list of found locations. This list is shared so it should not be modified. |
반환
| 타입 | 설명 |
|---|---|
| bool | Returns true if a location was found. Returns false otherwise. |