Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Class that provides unified API for loader features handling.
Static Public Member Functions | |
static void | RegisterLoader (AResourceLoadingBehavior loader) |
Adding loader to register collection. More... | |
static void | UnregisterLoader (AResourceLoadingBehavior loader) |
Removing loader from the register collection. More... | |
static void | ClearRegister () |
Removes all entries from the loaders register. | |
static void | LoadBundlesByPath (string path) |
Looking for assets bundles by the path and load their content to RAM. More... | |
static void | BundlesAsyncLoadRound () |
Checks current loading state of async operations. | |
static bool | ExternalLoadersRound () |
Successively calls external loaders. And updates meta data. More... | |
static string | CollectStatistic () |
Collects short statistic data about loader state. More... | |
static void | LoadAllAssets< T > (Action< AssetBundle, UnityEngine.Object[]> handler) |
Loading all assets with type from bundles. More... | |
static void | LoadAllAssetsParallel< T > (Action< AssetBundle, UnityEngine.Object[]> handler) |
Loading all assets with type from bundles. handles process in different thread. More... | |
static void | LoadAllAssetsParallel< T > (Action< AssetBundle, UnityEngine.Object[]> handler, Action isFinished) |
Loading all assets with type from bundles. handles process in different thread. More... | |
Static Public Attributes | |
static Action | eBundlesLoaded |
Occurs when content loading process is complete. | |
static Action | eExternalLoadersCompleted |
Occurs when all external loaders bond have data as loaded. | |
static Action< AResourceLoadingBehavior > | eNewLoaderInProgress |
Occurs when some new loader starts loading process. | |
|
static |
Collects short statistic data about loader state.
|
static |
Successively calls external loaders. And updates meta data.
|
static |
Loading all assets with type from bundles.
T | Type of loading assets. |
handler | Delegate that will called to handle loaded assets. |
T | : | UnityEngine.Object |
|
static |
Loading all assets with type from bundles. handles process in different thread.
T | Type of loading assets. |
handler | Delegate that will called to handle loaded assets. |
T | : | UnityEngine.Object |
|
static |
Loading all assets with type from bundles. handles process in different thread.
T | Type of loading assets. |
handler | Delegate that will called to handle loaded assets. |
isFinished | handler that will be called when all bundles will be scanned. |
T | : | UnityEngine.Object |
|
static |
Looking for assets bundles by the path and load their content to RAM.
path | Path with a bundles packages. |
|
static |
Adding loader to register collection.
loader | Target loader. |
|
static |
Removing loader from the register collection.
loader |