using System; using System.Collections.Generic; using UnityEngine.ResourceManagement.ResourceLocations; namespace UnityEngine.AddressableAssets.ResourceLocators { /// /// Interface used by the Addressables system to find the locations of a given key. /// public interface IResourceLocator { /// /// The id for this locator. /// string LocatorId { get; } /// /// The keys defined by this locator. /// IEnumerable Keys { get; } /// /// Retrieve the locations from a specified key. /// /// The key to use. /// The resource type. /// The resulting set of locations for the key. /// True if any locations were found with the specified key. bool Locate(object key, Type type, out IList locations); } }