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

    Method StartOperation

    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.

    Declaration
    public AsyncOperationHandle<TObject> StartOperation<TObject>(AsyncOperationBase<TObject> operation, AsyncOperationHandle dependency)
    Parameters
    Type Name Description
    AsyncOperationBase<TObject> operation

    The custom AsyncOperationBase object

    AsyncOperationHandle dependency

    Execution of the operation will not occur until this handle completes. A default handle can be passed if no dependency is required.

    Returns
    Type Description
    AsyncOperationHandle<TObject>

    The AsyncOperationHandle used to access the result and status of the operation.

    Type Parameters
    Name Description
    TObject

    Object type associated with this operation.

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