{!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 AsyncOperationBase<TObject> | Addressables | 1.21.17
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class AsyncOperationBase<TObject>

    base class for implemented AsyncOperations, implements the needed interfaces and consolidates redundant code

    상속
    object
    AsyncOperationBase<TObject>
    상속된 멤버
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    네임스페이스: UnityEngine.ResourceManagement.AsyncOperations
    어셈블리: solution.dll
    구문
    public abstract class AsyncOperationBase<TObject>
    타입 파라미터
    이름 설명
    TObject

    The type of the operation.

    생성자

    이름 설명
    AsyncOperationBase()

    Basic constructor for AsyncOperationBase.

    필드

    이름 설명
    HasExecuted

    True, If the operation has been executed, else false

    프로퍼티

    이름 설명
    DebugName

    A custom operation should override this method to provide a debug friendly name for the operation.

    IsRunning

    True if the current op has begun but hasn't yet reached completion. False otherwise.

    Progress

    A custom operation should override this method to return the progress of the operation.

    ReferenceCount

    The number of references that are using this operation. When the ReferenceCount reaches 0, this operation is Destroyed.

    Result

    Accessor to Result of the operation.

    메서드

    이름 설명
    Complete(TObject, bool, Exception, bool)

    Complete the operation and invoke events.

    Complete(TObject, bool, string)

    Complete the operation and invoke events.

    Complete(TObject, bool, string, bool)

    Complete the operation and invoke events.

    DecrementReferenceCount()

    Reduces the reference count for this operation by 1. If the reference count is reduced to 0, the operation is destroyed.

    Destroy()

    This will be called by the resource manager when the reference count of the operation reaches zero. This method should not be called manually. A custom operation should override this method and release any held resources

    Execute()

    This will be called by the resource manager after all dependent operation complete. This method should not be called manually. A custom operation should override this method and begin work when it is called.

    GetDependencies(List<AsyncOperationHandle>)

    A custom operation should override this method to provide a list of AsyncOperationHandles that it depends on.

    IncrementReferenceCount()

    Increments the reference count for this operation.

    InvokeWaitForCompletion()

    Used for the implementation of WaitForCompletion in an IAsyncOperation.

    ToString()

    Converts the information about the operation to a formatted string.

    WaitForCompletion()

    Synchronously complete the async operation.

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