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

    Method SetInitializationObjectAtIndex

    SetInitializationObjectAtIndex(Int32, IObjectInitializationDataProvider, Boolean)

    Sets the initialization object at the specified index.

    Declaration
    public bool SetInitializationObjectAtIndex(int index, IObjectInitializationDataProvider initObject, bool postEvent = true)
    Parameters
    Type Name Description
    Int32 index

    The index to set the initialization object.

    IObjectInitializationDataProvider initObject

    The initialization object to set. This must be a valid scriptable object that implements the IInitializationObject interface.

    Boolean postEvent

    Indicates if an even should be posted to the Addressables event system for this change.

    Returns
    Type Description
    Boolean

    True if the initialization object was set, false otherwise.

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