docs.unity.cn
    Show / Hide Table of Contents

    Class InventoryItemDefinitionConfig

    Configurator for an InventoryItemDefinition instance.

    Inheritance
    Object
    CatalogItemConfig
    CatalogItemConfig<InventoryItemDefinition>
    InventoryItemDefinitionConfig
    StackableInventoryItemDefinitionConfig
    Inherited Members
    CatalogItemConfig<InventoryItemDefinition>.CompileGeneric()
    CatalogItemConfig<InventoryItemDefinition>.LinkGeneric(CatalogItem, Dictionary<String, CatalogItem>)
    CatalogItemConfig<InventoryItemDefinition>.Compile()
    CatalogItemConfig<InventoryItemDefinition>.Link(InventoryItemDefinition, Dictionary<String, CatalogItem>)
    CatalogItemConfig<InventoryItemDefinition>.LinkItem(InventoryItemDefinition, Dictionary<String, CatalogItem>, Rejectable)
    CatalogItemConfig<InventoryItemDefinition>.DoRequireDisplayName()
    CatalogItemConfig.key
    CatalogItemConfig.displayName
    CatalogItemConfig.tags
    CatalogItemConfig.staticProperties
    Namespace: UnityEngine.GameFoundation.Configs
    Syntax
    public class InventoryItemDefinitionConfig : CatalogItemConfig<InventoryItemDefinition>, IBuildable<InventoryItemDefinition>

    Fields

    properties

    Declaration
    public readonly Dictionary<string, Property> properties
    Field Value
    Type Description
    Dictionary<String, Property>

    Methods

    CompileItem(Rejectable)

    Create a new TRuntimeObject.

    Declaration
    protected override InventoryItemDefinition CompileItem(Rejectable rejectable)
    Parameters
    Type Name Description
    Rejectable rejectable
    Returns
    Type Description
    InventoryItemDefinition

    Return a promise handle to report how the operation went. The handle's result is the compiled item if the compilation was successful.

    Overrides
    UnityEngine.GameFoundation.Configs.CatalogItemConfig<UnityEngine.GameFoundation.InventoryItemDefinition>.CompileItem(UnityEngine.Promise.Rejectable)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021