Contains methods for loading Resources asynchronously.
More...
|
static async Task< T > | LoadAsync< T > (string path, string typeHint="", bool useSubThreads=false, ResourceLoader.CacheMode cacheMode=ResourceLoader.CacheMode.Reuse) |
| Loads a Resource from file asynchronously. More...
|
|
Contains methods for loading Resources asynchronously.
Definition at line 10 of file AsyncResourceLoader.cs.
◆ LoadAsync< T >()
static async Task< T > LoadAsync< T > |
( |
string |
path, |
|
|
string |
typeHint = "" , |
|
|
bool |
useSubThreads = false , |
|
|
ResourceLoader.CacheMode |
cacheMode = ResourceLoader.CacheMode.Reuse |
|
) |
| |
|
static |
Loads a Resource from file asynchronously.
- Parameters
-
- Exceptions
-
ThreadedResourceRequestException | Thrown if an error occurs while loading. |
Definition at line 23 of file AsyncResourceLoader.cs.
◆ _threadStatusCheckDelay
int _threadStatusCheckDelay = 16 |
|
staticprivate |
◆ ThreadStatusCheckDelay
int ThreadStatusCheckDelay |
|
staticgetset |
The delay time in milliseconds between each resource load status check.
Definition at line 16 of file AsyncResourceLoader.cs.
The documentation for this class was generated from the following file: