Method GetLoadInfo
GetLoadInfo(IResourceLocation, ResourceManager, out LoadType, out string)
Determines the load type and path for a given resource location. Evaluates whether the resource should be loaded locally or via web request based on the path and options.
Declaration
public static void GetLoadInfo(IResourceLocation location, ResourceManager resourceManager, out LoadType loadType, out string path)
Parameters
| Type | Name | Description |
|---|---|---|
| IResourceLocation | location | The resource location to evaluate. |
| ResourceManager | resourceManager | The resource manager used to transform the internal ID. |
| LoadType | loadType | Output parameter indicating whether to load locally or via web request. |
| string | path | Output parameter containing the resolved path to load from. |