docs.unity3d.com
    目次を表示する/隠す

    Interface IResourceProvider

    Resoure Providers handle loading (Provide) and unloading (Release) of objects

    Namespace: UnityEngine.ResourceManagement.ResourceProviders
    Syntax
    public interface IResourceProvider

    Properties

    Name Description
    BehaviourFlags

    Custom flags for the provider.

    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)

    The default type of object that this provider can provide.

    Provide(ProvideHandle)

    Tells the provide that it needs to provide a resource and report the results through the passed provideHandle. When this is called, all dependencies have completed and are available through the provideHandle.

    Release(IResourceLocation, Object)

    Release and/or unload the given resource location and asset

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)