docs.unity.cn
    Show / Hide Table of Contents

    Class InventoryItemNotFoundException

    Thrown when the InventoryItem fails to be found by its id.

    Inheritance
    Object
    Exception
    GameFoundationException
    InventoryItemNotFoundException
    Inherited Members
    GameFoundationException.k_MessageBuilder
    Namespace: UnityEngine.GameFoundation.Exceptions
    Syntax
    public class InventoryItemNotFoundException : GameFoundationException, ISerializable, _Exception

    Constructors

    InventoryItemNotFoundException(String)

    Initializes a new instance of the InventoryItemNotFoundException class.

    Declaration
    public InventoryItemNotFoundException(string id)
    Parameters
    Type Name Description
    String id

    The id of the item not found.

    Properties

    itemId

    The identifier of the InventoryItem not found.

    Declaration
    public string itemId { get; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021