docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DefaultItemDefinition

    This class contains a pair of data, a GameItemDefinition Hash and an int for quantity. These are used to setup the DefaultItems in a CollectionDefinition.

    Inheritance
    object
    DefaultItemDefinition
    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    public class DefaultItemDefinition

    Properties

    Name Description
    definitionHash

    The Hash of the GameItemDefinition to use.

    definitionId

    The ID the GameItemDefinition to use.

    quantity

    The starting quantity of the Item instance once setup.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)