![]() |
Easy Content Delivery Network 1.3.2
An addressables-free suite that automatically handles the Unity Cloud Content Delivery API and packaging/deploying assetbundles while providing several tools to make asset management easy.
|
MonoBehaviour component that can request an asset from the CDN. Accepts any UnityEngine.Object as an asset. Cannot instantiate or further manipulate the asset without the help of code. For codeless or more specific usages, try SceneRequester More...
Additional Inherited Members | |
![]() | |
bool | TryGetAssetRetrievalResult (out AssetRetrievalResult assetRetrievalResult) |
Gets status of last download attempt for an asset. Note: If an asset was pulled from the cache, it will return response code 200 with UnityWebRequest.Result.Success. | |
async Task< AssetBundle > | GetAssetBundle (Progress< AssetRetrievalProgress > progress=null) |
Retrieves this components Asset from the CDN. | |
async Task< T > | GetAsset (Progress< AssetRetrievalProgress > progress=null, Action< T > onSuccess=null, Action< AssetRetrievalResult > onFailure=null, bool waitForManagerInit=true) |
Retrieves an asset from the content delivery network. | |
![]() | |
UnityEvent | OnRetrievalStarted [get] |
Fires when retrieval starts. Useful for starting up a loading bar. | |
UnityEvent< float > | OnProgressUpdated [get] |
Fires when download / load progress changes. Includes a float between 0 and 1 representing progress. | |
UnityEvent< long > | OnRetrievalFailed [get] |
Fires when an asset retrieval attempt did not work. Includes a long integer http status code | |
UnityEvent | OnRetrievalSuccess [get] |
Fires when an asset retrieval attempt succeeded. | |
MonoBehaviour component that can request an asset from the CDN. Accepts any UnityEngine.Object as an asset. Cannot instantiate or further manipulate the asset without the help of code. For codeless or more specific usages, try SceneRequester