Class Item
Item information.
物品資訊。
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
Item
Namespace: Votanic.vXR.vGear.Inventory
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
[CreateAssetMenu(fileName = "Inventory Item", menuName = "VotanicXR/Inventory/Item", order = 1)]
public class Item : ScriptableObject
Fields
categories
Only the list of specific categories can store.
指定只能存放的庫存範疇。
Declaration
[Tooltip("Only the list of specific categories can store.\n指定只能存放的庫存範疇。")]
public List<string> categories
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
currencyContainer
This item will become a currency container.
這個物品將會成日貨幣容器。
Declaration
[Tooltip("This item will become a currency container.\n這個物品將會成日貨幣容器。")]
public bool currencyContainer
Field Value
Type | Description |
---|---|
System.Boolean |
description
Description of item.
物品描述。
Declaration
[Tooltip("Description of item.\n物品描述。")]
public string description
Field Value
Type | Description |
---|---|
System.String |
generatables
Generatables setting of item.
物品的可生成物設定。
Declaration
[Tooltip("Generatables setting of item.\n物品的可生成物設定。")]
public Generatables generatables
Field Value
Type | Description |
---|---|
Generatables |
gridStyles
Grid styles for this item.
這個物品的方格格式。
Declaration
[Tooltip("Grid styles for this item.\n這個物品的方格格式。")]
public List<Grid> gridStyles
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<Grid> |
identifier
Identifier of item.
物品識別碼。
Declaration
[Tooltip("Identifier of item.\n物品識別碼。")]
public string identifier
Field Value
Type | Description |
---|---|
System.String |
quality
Quality index.
品質編號。
Declaration
[Tooltip("Quality index.\n品質編號。")]
public int quality
Field Value
Type | Description |
---|---|
System.Int32 |
remark
Remark of item.
物品備註。
Declaration
[Tooltip("Remark of item.\n物品描述。")]
public string remark
Field Value
Type | Description |
---|---|
System.String |