Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Faced API class to handling directories related tasks.
Static Public Member Functions | |
static T | LoadAssetAtCache< T > (string assetPath) |
Loads asset in GDK's cache folder. More... | |
static T | LoadAssetAtCacheResources< T > (string assetPath) |
Loads asset in GDK cache's resource related folder. More... | |
static T | LoadAssetAtPath< T > (string assetPath) |
Loads asset in GDK related folder. More... | |
static bool | DeleteAssetAtCacheResources (string assetPath) |
Deletes asset at GDK cache's resources folder, More... | |
static bool | DeleteAssetAtCache (string assetPath) |
Deletes asset at GDK cache folder, More... | |
static bool | DeleteAsset (string assetPath) |
Deletes asset from GDK related path. More... | |
static void | SaveToCache (UnityEngine.Object asset, string relativePath, string name) |
Saves asset to the cache folder. More... | |
static void | SaveToCacheResources (UnityEngine.Object asset, string relativePath, string name) |
Saves asset to the cache resources folder. More... | |
static void | SaveAsAsset (UnityEngine.Object asset, string fullPath, string name) |
Creates asset by the path. More... | |
|
static |
Deletes asset from GDK related path.
assetPath | Path to asset including its extension inside GDK folder. |
|
static |
Deletes asset at GDK cache folder,
assetPath | Path to asset including its extension inside cache folder. |
|
static |
Deletes asset at GDK cache's resources folder,
assetPath | Path to asset including its extension inside cache folder. |
|
static |
Loads asset in GDK's cache folder.
T | Type of loading asset. |
assetPath | Path to asset including its extension. |
T | : | UnityEngine.Object | |
T | : | LoadAssetAtPath<T> | |
T | : | RuntimeConstants.RELATED_CACHE_FORLDER | |
T | : | assetPath |
|
static |
Loads asset in GDK cache's resource related folder.
T | Type of loading asset. |
assetPath | Path to asset including its extension. |
T | : | UnityEngine.Object | |
T | : | LoadAssetAtPath<T> | |
T | : | RuntimeConstants.RELATED_CACHE_RESOURCES_FORLDER | |
T | : | assetPath |
|
static |
Loads asset in GDK related folder.
T | Type of loading asset. |
assetPath | Path to asset including its extension. |
T | : | UnityEngine.Object | |
T | : | UnityEditor.AssetDatabase.LoadAssetAtPath<T> | |
T | : | RuntimeConstants.ROOT_FOLDER | |
T | : | assetPath |
|
static |
Creates asset by the path.
asset | Object to save as asset. |
fullPath | Path of the asset related to the project's root. |
name | Name of the asset without extension. |
ArgumentNullException | asset is null. |
ArgumentException | name is null or empty. |
|
static |
Saves asset to the cache folder.
asset | Object to save as asset. |
relativePath | |
name | Name of the asset without extension. |
|
static |
Saves asset to the cache resources folder.
asset | Object to save as asset. |
relativePath | |
name | Name of the asset without extension. |