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

    Method AddSchema

    AddSchema(AddressableAssetGroupSchema, Func<Type, String>)

    Adds a copy of the provided schema object.

    Declaration
    public AddressableAssetGroupSchema AddSchema(AddressableAssetGroupSchema schema, Func<Type, string> pathFunc)
    Parameters
    Type Name Description
    AddressableAssetGroupSchema schema

    The schema to copy.

    Func<Type, String> pathFunc

    A function that returns the path where this method can save the schema asset. Set to null to not create an in-project asset.

    Returns
    Type Description
    AddressableAssetGroupSchema

    The created schema object.

    AddSchema(Type, Func<Type, String>)

    Creates and adds a schema of a given type to this group. The schema asset will be created in the GroupSchemas directory relative to the settings asset.

    Declaration
    public AddressableAssetGroupSchema AddSchema(Type type, Func<Type, string> pathFunc)
    Parameters
    Type Name Description
    Type type

    The schema type. This type must not already be added.

    Func<Type, String> pathFunc

    A function that returns the path where this method can save the schema asset. Set to null to not create an in-project asset.

    Returns
    Type Description
    AddressableAssetGroupSchema

    The created schema object.

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