示例#1
0
 /// <summary>
 /// Add a resource locator.
 /// </summary>
 /// <param name="locator">The locator object.</param>
 /// <param name="localCatalogHash">The hash of the local catalog. This can be null if the catalog cannot be updated.</param>
 /// <param name="remoteCatalogLocation">The location of the remote catalog. This can be null if the catalog cannot be updated.</param>
 public static void AddResourceLocator(IResourceLocator locator, string localCatalogHash = null, IResourceLocation remoteCatalogLocation = null)
 {
     m_Addressables.AddResourceLocator(locator, localCatalogHash, remoteCatalogLocation);
 }