Method Locate
Locate(object, Type, out IList<IResourceLocation>)
The key is converted to a string and used as the internal id of the location added to the locations parameter.
선언
public bool Locate(object key, Type type, out IList<IResourceLocation> locations)
파라미터
타입 | 이름 | 설명 |
---|---|---|
object | key | The key of the location. This should be a string with the resources path of the asset. |
Type | type | The resource type. |
IList<IResourceLocation> | locations | The list of locations. This will have at most one item. |
반환
타입 | 설명 |
---|---|
bool | True if the key is a string object and a location was created, false otherwise. |