docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ResourceProviderBase

    Base class for IResourceProvider.

    Inheritance
    object
    ResourceProviderBase
    ContentCatalogProvider
    AssetBundleProvider
    AssetDatabaseProvider
    AtlasSpriteProvider
    BundledAssetProvider
    LegacyResourcesProvider
    VirtualAssetBundleProvider
    VirtualBundledAssetProvider
    TextDataProvider
    Implements
    IResourceProvider
    IInitializableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Assembly: Unity.ResourceManager.dll
    Syntax
    public abstract class ResourceProviderBase : IResourceProvider, IInitializableObject

    Fields

    Name Description
    m_BehaviourFlags

    The extra behavior of the provider.

    m_ProviderId

    The unique identifier of the provider.

    Properties

    Name Description
    ProviderId

    Unique identifier for this provider, used by Resource Locations to find a suitable Provider

    Methods

    Name Description
    CanProvide(Type, IResourceLocation)

    Determine if this provider can provide the specified object type from the specified location.

    GetDefaultType(IResourceLocation)

    Get the default type of object that this provider can provide.

    Initialize(string, string)

    Initialize a constructed object.

    InitializeAsync(ResourceManager, string, string)

    Async operation for initializing a constructed object.

    Provide(ProvideHandle)

    Provide the object specified in the provideHandle.

    Release(IResourceLocation, object)

    Release the specified object that was created from the specified location.

    ToString()

    Converts information about the resource provider to a formatted string.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)