Exemplo n.º 1
0
 /// <summary>
 /// Downloads dependencies of assets marked with the specified label or address.
 /// </summary>
 /// <param name="key">The key of the asset(s) to load dependencies for.</param>
 /// <param name="autoReleaseHandle">Automatically releases the handle on completion</param>
 /// <returns>The AsyncOperationHandle for the dependency load.</returns>
 public static AsyncOperationHandle DownloadDependenciesAsync(object key, bool autoReleaseHandle = false)
 {
     return(m_Addressables.DownloadDependenciesAsync(key, autoReleaseHandle));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Downloads dependencies of assets marked with the specified label or address.
 /// </summary>
 /// <param name="key">The key of the asset(s) to load dependencies for.</param>
 /// <returns>The AsyncOperationHandle for the dependency load.</returns>
 public static AsyncOperationHandle DownloadDependenciesAsync(object key)
 {
     return(m_Addressables.DownloadDependenciesAsync(key));
 }