{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class ResourceManager | Addressables | 1.21.17
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class ResourceManager

    Entry point for ResourceManager API

    상속
    object
    ResourceManager
    구현
    IDisposable
    상속된 멤버
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    네임스페이스: UnityEngine.ResourceManagement
    어셈블리: solution.dll
    구문
    public class ResourceManager : IDisposable

    생성자

    이름 설명
    ResourceManager(IAllocationStrategy)

    Constructor for the resource manager.

    프로퍼티

    이름 설명
    Allocator

    The allocation strategy object.

    CertificateHandlerInstance

    The CertificateHandler instance object.

    ExceptionHandler

    Global exception handler. This will be called whenever an IAsyncOperation.OperationException is set to a non-null value.

    InternalIdTransformFunc

    Functor to transform internal ids before being used by the providers.

    ResourceProviders

    Gets the list of configured IResourceProvider objects. Resource Providers handle load and release operations for IResourceLocation objects.

    WebRequestOverride

    Delegate that can be used to override the web request options before being sent.

    메서드

    이름 설명
    Acquire(AsyncOperationHandle)

    Increment reference count of operation handle.

    AddUpdateReceiver(IUpdateReceiver)

    Add an update reveiver.

    CleanupSceneInstances(Scene)

    Releases all instances the given scence.

    ClearDiagnosticCallbacks()

    Clears out the diagnostics callbacks handler.

    ClearDiagnosticsCallback()

    Clears out the diagnostics callback handler.

    CreateChainOperation<TObject>(AsyncOperationHandle, Func<AsyncOperationHandle, AsyncOperationHandle<TObject>>)

    Create a chain operation to handle dependencies.

    CreateChainOperation<TObject>(AsyncOperationHandle, Func<AsyncOperationHandle, AsyncOperationHandle<TObject>>, bool)

    Create a chain operation to handle dependencies.

    CreateChainOperation<TObject, TObjectDependency>(AsyncOperationHandle<TObjectDependency>, Func<AsyncOperationHandle<TObjectDependency>, AsyncOperationHandle<TObject>>)

    Create a chain operation to handle dependencies.

    CreateChainOperation<TObject, TObjectDependency>(AsyncOperationHandle<TObjectDependency>, Func<AsyncOperationHandle<TObjectDependency>, AsyncOperationHandle<TObject>>, bool)

    Create a chain operation to handle dependencies.

    CreateCompletedOperationWithException<TObject>(TObject, Exception)

    Creates an operation that has already completed with a specified result and error message./>.

    CreateCompletedOperation<TObject>(TObject, string)

    Creates an operation that has already completed with a specified result and error message./>.

    CreateGenericGroupOperation(List<AsyncOperationHandle>, bool)

    Create a group operation for a set of AsyncOperationHandles

    CreateGroupOperation<T>(IList<IResourceLocation>)

    Create a group operation for a set of locations.

    Dispose()

    Disposes internal resources used by the resource manager

    GetResourceProvider(Type, IResourceLocation)

    Gets the appropriate IResourceProvider for the given location and type.

    ProvideInstance(IInstanceProvider, IResourceLocation, InstantiationParameters)

    Asynchronously instantiate a prefab (GameObject) at the specified location.

    ProvideResource<TObject>(IResourceLocation)

    Load the TObject at the specified location.

    ProvideResources<TObject>(IList<IResourceLocation>, Action<TObject>)

    Asynchronously load all objects in the given collection of locations. If any matching location fails, all loads and dependencies will be released. The returned .Result will be null, and .Status will be Failed.

    ProvideResources<TObject>(IList<IResourceLocation>, bool, Action<TObject>)

    Asynchronously load all objects in the given collection of locations.

    ProvideScene(ISceneProvider, IResourceLocation, LoadSceneMode, bool, int)

    Load a scene at a specificed resource location.

    ProvideScene(ISceneProvider, IResourceLocation, LoadSceneParameters, bool, int)

    Load a scene at a specificed resource location.

    RegisterDiagnosticCallback(Action<AsyncOperationHandle, DiagnosticEventType, int, object>)

    Register a handler for diagnostic events.

    RegisterDiagnosticCallback(Action<DiagnosticEventContext>)

    Register a handler for diagnostic events.

    Release(AsyncOperationHandle)

    Release the operation associated with the specified handle

    ReleaseScene(ISceneProvider, AsyncOperationHandle<SceneInstance>)

    Release a scene.

    RemoveUpdateReciever(IUpdateReceiver)

    Remove update receiver.

    StartOperation<TObject>(AsyncOperationBase<TObject>, AsyncOperationHandle)

    Registers an operation with the ResourceManager. The operation will be executed when the dependency completes. This should only be used when creating custom operations.

    TransformInternalId(IResourceLocation)

    Checks for an internal id transform function and uses it to modify the internal id value.

    UnregisterDiagnosticCallback(Action<DiagnosticEventContext>)

    Unregister a handler for diagnostic events.

    문서 개요
    • 생성자
    • 프로퍼티
    • 메서드
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)