docs.unity3d.com
    Show / Hide Table of Contents

    Class ResourceProviderBase

    Base class for IResourceProvider.

    Inheritance
    Object
    ResourceProviderBase
    ContentCatalogProvider
    AssetBundleProvider
    AtlasSpriteProvider
    BundledAssetProvider
    LegacyResourcesProvider
    TextDataProvider
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    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.

    Explicit Interface Implementations

    Name Description
    IResourceProvider.BehaviourFlags
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023